I was coding and I tried building it. It says there’s an invalid syntax error and I am new to the python code in Vex. I’ll paste a screenshot below, can someone tell me what I’m missing? Thank you!
Line 109 needs a parenthesis and a colon. It is expecting those symbols, so it says 110 is wrong.
The code should be a colon like @Micahy321 mentioned.
while not touchled_9.pressing():
#insert code here
touchled.pressing() returns a true or false statement wether you are pressing it or not. The while statement checks for true or false (the “not” essentially inverts this) and then executes what is after the colon and indented.
Thank you so much! I’m new to python, thanks for the help!