How do you convert a tuple to a list | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you convert a tuple to a list

25th Oct 2018, 3:55 AM
#GhostInWires
#GhostInWires - avatar
2 Answers
+ 7
Language? Python? You have functions tuple() and list() which can be used for conversion to and from both datatypes.
25th Oct 2018, 4:24 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
list((1,2,3,4))
25th Oct 2018, 4:56 AM
Rugved Modak
Rugved Modak - avatar