[Solved] SyntaxError within nested if statement


if (0.0 < playerVX < maxSpeed) or (-maxSpeed < playerVX < 0.0):
if not haveJumped and (leftDown or rightDown):
playerVX = playerVX * 1.1

This did the trick for me.

solved SyntaxError within nested if statement