making a tuple in python code example
Example: make a tuple of any object in python
# tuple repitition works like this
print(('Hi!',) * 4) # output: ('Hi!', 'Hi!', 'Hi!', 'Hi!')
# tuple repitition works like this
print(('Hi!',) * 4) # output: ('Hi!', 'Hi!', 'Hi!', 'Hi!')