Sep-27-2020, 09:40 AM
Hey there!
I had been using Eclipse IDE for python for some time now but switched to Visual Studio Code with Python extension. Just to give the IDE a test run, I ran the following code:
Please help me out with this.
Thanks!
I had been using Eclipse IDE for python for some time now but switched to Visual Studio Code with Python extension. Just to give the IDE a test run, I ran the following code:
name = input("Please enter your name: ") print("Hello " + name + "!")I'm pretty sure that this would run normally in Eclipse but in Visual Studio and other IDEs, it has been giving me an EOF error. I tried replacing "input" with "raw_input" (because I read that it might help), but then I get an error saying "raw_input" isn't defined.
Please help me out with this.
Thanks!