I am new to Python programming language reading books and attending some online courses.
I am currently using the Visual Studio Code software.
During working on the “input” function, I typed “>>> name = input(‘ […]” (I ommitted the details) and I received the following message from the aforementioned software:
Traceback (most recent call last):
File “”, line 1, in
TypeError: ‘str’ object is not callable
However, I typed the same command using the simple code editor that accompanies the python software, and I did not receive any mistake-related message.
Could anybody explain what is happening?
Thank you in advance.