Single Choice Not Set

QWhat is the output of the following
tuple1 = (1120, 'a')
print(max(tuple1))

ID: #3714 Python Tuple MCQ 424 views
Question Info
#3714Q ID
Not SetDifficulty
Python Tuple MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A TypeError
  • B 1120
Correct Answer

Explanation

TypeError: '>' not supported between instances of ‘str’ and ‘int’

Share This Question

Challenge a friend or share with your study group.