declare an empty tuple python code example
Example 1: empty tuple in python
empty_tuple = ()
# or
empty_tuple = tuple()
Example 2: intialising a tuple in python
#Initialising an empty tuple
my_tuple = ()
#OR
my_tuple = tuple()
#Initialising elements in a tuple
my_tuple = (1,) #Single element initialization
#OR
my_tuple = (1, 2) #Multi-element initialization
#OR
my_tuple = (1, 2, "Dog") #Multi-type initialization