Answers for "can we append a new value in 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