I need help with this race project
MrMTB (0)

For some reason the thing says its a invalid syntax but I can't find out whats wrong

You are viewing a single comment. View All
Wumi4 (541)

On line 31, you write something like this:

spacingx = WIDTH // 2 (len(colors) + 1)

You miss an operator between the number 2 and (len(colors) + 1). Do you mean a multiply?

MrMTB (0)

thanks @Wumi4 i am a beginer

MrMTB (0)

@Wumi4 thogh it came up with this: main.py:31: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
spacingx = WIDTH // 2 (len(colors) + 1)

Wumi4 (541)

@MrMTB You haven't fixed the problem yet...