Answers for "convert tuples python"

3

converting a tuple to a list in python

#!/usr/bin/python

aTuple = (123, 'xyz', 'zara', 'abc');
aList = list(aTuple)
print "List elements : ", aList
Posted by: Guest on October-26-2020

Code answers related to "convert tuples python"

Python Answers by Framework

Browse Popular Code Answers by Language