New beginner here. Super simple code but with Stdin error and some extra

Viewed 23

I'm a huge newbie.

This is the code I'm trying to run as one in visual studio code:

first = "Sara"
last = "Connor"
full = first + "" + last
print(full)

It only does what I say if I execute it line by line. But I want to press the play button and for it all to show.

This is the error message I'm getting:

& C:/Users/...../pythoncodingpack/python.exe c:/users/....Python/course.py ^ syntaxerror: Invalid syntax

I have been trying to find the solution for 8 hours and I can't fix the mistake. please someone help me.

0 Answers
Related