Quiz Catalog

Catalog of quizzes

lst1 = [x for x in range(6)]
lst2 = [y for y in range(9)]
a = lst1 + lst2

print(*a)
0 1 2 3 4 5 6 7 8
  • set
  • list/comprehension
  • build-in/set

a = set("Hello")

print(a[-1::-1])
TypeError: 'set' object is not subscriptable
  • set