Guest_imported
New member
- Jan 1, 1970
- 0
An other question:
How can I convert a list in a tuple?
I tried:
>>> a = ["A","B","C"]
>>> b = tuple(a) #I found this hint on >>>#Traceback (most recent call last):
File "<pyshell#15>", line 1, in ?
b = tuple(a)
TypeError: object of type 'tuple' is not callable
How can I convert a list in a tuple?
I tried:
>>> a = ["A","B","C"]
>>> b = tuple(a) #I found this hint on >>>#Traceback (most recent call last):
File "<pyshell#15>", line 1, in ?
b = tuple(a)
TypeError: object of type 'tuple' is not callable