Last modified: April 03, 2020

How to create an empty tuple in python

in this article we'll create an empty tuple.

syntax

tuple_name = ()

example


#empty tuple
animals = ()

#print type
print(type(animals))

output

#class'tuple'