I have a syntax error and dont know how to fix it
FrederickMarti1

I have a syntax error on an if statement run the program and you will see it

You are viewing a single comment. View All
emilyDoesPascal

You have to put a : after if statements, while statements, etc so line 11 would be

FrederickMarti1

@coreDumpedSeg thanks if you can could you help me with some other syntax errors

emilyDoesPascal

@FrederickMarti1 you have to do the same thing with while or for loops. on line 32, the if statment has to be if not If. For seeing if a string is in a array, just do choice.lower in ["myvalue1", "myvalue2"], as there is no need to remove the lower

FrederickMarti1

@coreDumpedSeg line 36 i need to fix

emilyDoesPascal

@FrederickMarti1 you have to use == instead of = to check if 2 values are equal

FrederickMarti1

@coreDumpedSeg i once again need help on line 3