programming-examples/python/Tuple/Python program to create a tuple with numbers and print one item.py

6 lines
128 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
#Create a tuple with numbers
tuplex = 5, 10, 15, 20, 25
print(tuplex)
#Create a tuple of one item
tuplex = 5,
print(tuplex)