How will you create an empty tuple ?
Question :
How will you create an empty tuple ?
We can create an empty tuple using built-in function tuple() as follows:
>>> t = tuple ()
>>> print t
()
How will you create an empty tuple ?
How will you create an empty tuple ?
We can create an empty tuple using built-in function tuple() as follows:
>>> t = tuple ()
>>> print t
()