Quiz Catalog

Catalog of quizzes

lst = [3, 4, 'a', -1]

a = sorted(lst, reverse=True)

print(a)
TypeError: '<' not supported between instances of 'str' and 'int'
  • build-in/sorted
  • list/literal