Q11. Write the output of the following:
a=("Amit", "Sumit","Ashish","Sumanta")
print(max(a))
Q12. What type of error is returned by following code :
a=("Amit", "Sumit","Ashish","Sumanta")
print(a.index("Suman"))
Q13. Write the output of the following :
a=("Amit", "Sumit","Ashish","Sumanta")
print(a.index("Sumit")+4//3**2)
Q14. Write the output of the following:
a=("Amit", "Sumit","Ashish","Sumanta")
print(a.count("Sum"))
Q15. Write the output of the following :
a=("Amit", "Sumit","Ashish","Sumanta")
for i in a:
print(len(i)**2)
Q16. Write the output of the following:
a=(6,8,9,"Sumanta",1)
for i in a:
print(str(i)*2)
Q17. Write the output of the following:
a="blog"
b=list(a)
c=tuple(b)
print(c)
Q18. Write the output of the following :
a=("Hello","How","are","you")
for i in a:
print(i,end=" ")
Q19. Write the output of the following:
a=("Hello","How","are","you")
for i in a:
print(a.index(i),end=" ")
Q20. Write the output of the following:
a=("Hello","How","are","you")
b=list(a)
print(a==b)