Share your repls and programming experiences

← Back to all posts
Coder4 (7)

On line 151, in file, there is a syntax error where the ":" is after the if statement.

The thing is, there was no syntax error before I put that if statement there, which really makes me wonder because I tried deleting that if statement and yet there is still a syntax error.

Anyone who can help??

Coder4 (7)

LINE: 151,
please run just to see if you get the error, then look at the previous code within
the file and see if you can spot the error that I cannot