TypeError: 'list' object is not callable in python

前端 未结 11 1680
醉梦人生
醉梦人生 2020-11-22 13:11

I am novice to Python and following a tutorial. There is an example of list in the tutorial :

example = list(\'easyhoss\')

Now

11条回答
  •  -上瘾入骨i
    2020-11-22 13:48

    Close the current interpreter using exit() command and reopen typing python to start your work. And do not name a list as list literally. Then you will be fine.

提交回复
热议问题