index tupli python code example
Example 1: how to use tupels python
tupel = ('banana',10,True)
print(tupel[2])
Example 2: create tuples python
values = [a, b, c, 1, 2, 3]
values = tuple(values)
print(values)
tupel = ('banana',10,True)
print(tupel[2])
values = [a, b, c, 1, 2, 3]
values = tuple(values)
print(values)