Question: One simple python question confused me, I write my code in Visual Studio Code, and it tells me I have an error. I assume it's

One simple python question confused me, I write my code in Visual Studio Code, and it tells me I have an error. I assume it's because I have the "@" symbol, but I don't know why it can run in terminal. Could someone help me? One simple python question confused me, I write my code in VisualStudio Code, and it tells me I have an error. I assumePlease help me ,thank you!!

tes3.py tes3.py Users > judy > tes3.py 1 def main(): 2 email = input() 3 print(email) 4 main() 1: Code m X A PROBLEMS OUTPUT DEBUG CONSOLE TERMINAL python -u "/Users/judy/tes3.py" + -python -u "/Users/judy/tes3.py" Judy@Email Traceback (most recent call last): File "/users/judy/tes3.py", line 4, in modules File "/Users/judy/tes3.py", line 2, in main email = input() File "", line 1 Judy@email SyntaxError: invalid syntax main() (g. FO Python 3.7.2 64-bit AO Ln 1, Col 12 Tab Size: 4 UTF-8 LF Python & fi judy judy@JudydeMacBook-Pro ~-zsh 80x24 Last login: Sun Mar 7 00:21:06 on ttys000 python3 tes3.py Judy@Email Judy@Email

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!