Answers for "how to append to create a tuple from a list in python?"

0

how to add number in tuple

a = ('2',)
b = 'z'
new = a + (b,)
Posted by: Guest on August-04-2020

Code answers related to "how to append to create a tuple from a list in python?"

Browse Popular Code Answers by Language