print("Hi!")
name = input("what's your name? ")
print("It's nice to meet you,", name)
answer = input("Are you enjoying the course? ")
if answer =="Yes":
print("That's good to hear!")
else:
print("Oh no! That makes me sad!")
Выше приведен код, но он продолжает давать эту синтаксическую ошибку ниже.
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:43:08) [MSC v.1926 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> & C:/Users/gbemi/AppData/Local/Programs/Python/Python38-32/python.exe "c:/Users/gbemi/Desktop/exercise files/chap01/01_03.py"
File "<stdin>", line 1
& C:/Users/gbemi/AppData/Local/Programs/Python/Python38-32/python.exe "c:/Users/gbemi/Desktop/exercise files/chap01/01_03.py"
^
SyntaxError: invalid syntax
>>>
Я уже заходил в настройки-файлы, чтобы проверить путь, его правильный. В чем проблема, я новичок ie программист