My first code I've ever made in python doesn't work and I don't know why. Please can you help me solve the issue.
Code:
Code:
age = 10; if age < 9: print("Hey! ") print("Welcome to play with us") else print("You're too old for this gang!")Error code:
Error:>>> %Run test.py
File "C:\Users\vikto\Desktop\test.py", line 5
else
^
SyntaxError: invalid syntax
>>>