Program - another way to append data to tuple


Topic: Program - another way to append data to tuple

Solution

tup = ([],)
print('tup before: ', tup)
tup[0].append(1)
print('tup after: ', tup)



List all Python Programs