Dec-28-2020, 09:14 PM
(Dec-28-2020, 04:56 AM)perfringo Wrote: Don't use list as name.
>>> list('abc') ['a', 'b', 'c'] >>> list = ['a', 'b', 'c'] >>> list('abc') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'list' object is not callable >>> list ['a', 'b', 'c']
Tks a lot i was wrote lista...it was on portugues,,,when I tranlate I forgot that list is a reserved word....