print element from tuple python code example
Example 1: how to print a tuple in python
tuple1 = ("car", "bike", "bus")
print(tuple1)
Example 2: make a tuple of any object in python
# tuple repitition works like this
print(('Hi!',) * 4) # output: ('Hi!', 'Hi!', 'Hi!', 'Hi!')