I am novice to Python and following a tutorial. There is an example of
list in the tutorial :
example = list('easyhoss')
Now, In tutorial,
example= ['e','a',...,'s']. But in my case I am getting following error:
>>> example = list('easyhoss') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'list' object is not callable
Please tell me where I am wrong. I searched SO this but it is different.