mardi 29 juin 2021

How to increment a variable within a if statement python IDLE

I am trying to increment a variable based on a condition in the if statement. Every time I attempt to do so, I get a Syntax error on the equal sign, and I'm not sure why. I am writing this in the Python IDLE

You can click on this link to access the image of the code

Aucun commentaire:

Enregistrer un commentaire