Quiz Catalog

Catalog of quizzes

x1 = [17, 33, 15, 6, 1, 14]
x2 = []
while (el := x1.pop()) >= 15:
  x2.append(el)

print(x2)
[14, 1, 6, 15]
  • list/operation/pop

lst = ['123', '321', '000']

print(lst.pop(2), *lst)
000 123 321
  • list/operation/pop