Python List & Tuple MCQs

Question 16: What will be output of the following expression:

n= max('ten', 10, 10.00)

Question 17: Which of following will result in error?

Question 18: What will be the output of the following code?

names = ('Jeff', 'Bill', 'Steve', 'Yash') 
a, b, c, d = names 
print("Hello", a)

Question 19: Which of the following methods cannot be used with tuple?