list ( ) to tuple in Python
list ( ) to tuple in Python
it’s very simple to convert list into tuple or vice-versa in Python. For Example -
- list1 = [4,5,9,8,7,63]
- x = tuple(list1)
- print(x)
list ( ) to tuple in Python
it’s very simple to convert list into tuple or vice-versa in Python. For Example -
Comments
Post a Comment