programming-examples/python/Tuple/Python program to create a tuple with different data types.py

3 lines
91 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
#Create a tuple with different data types
tuplex = ("tuple", False, 3.2, 1)
print(tuplex)