Answers for "how do you convert a tuple to a list in 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 "how do you convert a tuple to a list in python"

Python Answers by Framework

Browse Popular Code Answers by Language