DEV Community

loading...

Discussion on: Project in Python

Collapse
eddiecoyote profile image
Eddie Author

Can’t sleep. Was thinking about this code. Opened this up and immediately saw an error. The second block += isn’t set to global. Therefore it creates another block variable, only this one is local.