Hey,
I am creating a maths quiz in python as part of my GSCE Computing course (UK), I am putting in different levels of difficulty and in one of my if statements for this I am getting invalid syntax over a colon. Here is the code:
Code:
diff=int(input("If you would like easy difficulty, press 1. If you would like a challenge, press 2"))
if diff== "1":
quizeasy()
When I run this code in IDLE (Python 3.5 32-bit), I get invalid syntax over my colon. If anyone could help that would be great!
Thanks!