programming-examples/python/Tuple/Python program to create a tuple.py

6 lines
136 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
#Create an empty tuple
x = ()
print(x)
# Create an empty tuple with tuple() function built-in Python
tuplex = tuple()
print(tuplex)