Quiz Catalog

Catalog of quizzes

arr = (1, 2, 3)
s = str(arr)

print(s[4:10])
2, 3)
  • string/operation/slice
  • build-in/str

a = str(bin(4))
b = str(bytes(4))

print(a == b)
False
  • int/operation/bin
  • build-in/bytes
  • build-in/str