Answers for "how to convert list to tuple"

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 to convert list to tuple"

Python Answers by Framework

Browse Popular Code Answers by Language