Answers for "add number to a tuple"

2

how to append number in tuple

a = (3,)
b = list(a)
b.append("Work!")
a = tuple(b)
print(a)
Posted by: Guest on July-25-2021

Browse Popular Code Answers by Language