mercredi 6 mai 2020

Invalid syntax using += operator

I keep getting a syntax error when using += in python here is my code:

import random
rd = random.randint
citizens = rd(10000, 1000000)
rnum = rd(1,citizens/2)
nonlocal citizens -= rnum



Aucun commentaire:

Enregistrer un commentaire