The pythonic way to check if a tuple
is empty is using the not
operator.
my_tuple = ()
if not my_tuple:
print("My tuple is empty")
To check the opposite, if the tuple is not empty:
my_tuple = ('amazon', 'microsoft')
if my_tuple:
print("My tuple is NOT empty!!!")