Quiz Catalog

Catalog of quizzes

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

a = tuple(reversed(lst))

print(a)
(2, 'a', 4, 1, 3)
  • build-in/reversed
  • build-in/tuple
  • list/literal