Tuple - ibrahimrifats/Back-End-development GitHub Wiki
my_tuple = (1,'string',3,4,True)
print(*my_tuple)
print(my_tuple)
print(my_tuple[4])
# type checking using type() keyword
print(type(my_tuple))
# the number of occurrences of that value within the tuple
print(my_tuple.count('digit'))
print(my_tuple.count('string'))
print(my_tuple.index('string'))
print(my_tuple.index(4))
# tuple object does not support item assignment
# my_tuple[0] = 3