Quiz Catalog

Catalog of quizzes

a = [6, 5, 8, 2, 1]
t = tuple(el for el in a)
print(t[1::-1])
(5, 6)
  • tuple/slice