tapple

Estimated reading time: 1 minute

tapple

  • ()
  • most same as lists
  • unchangeable / immutable
price = (1,2,3,4)
print(price)
# (1,2,3,4)
print(len(price))
# 4

lists to taple

price = [1,2,3,4]
print(tuple(price))
(1,2,3,4)