I could be incorrect on this but I noticed when I define a variable outside a function and to change the variable you need to use the key word ‘global’ but it does not seem to work…
Ah yeah, it seems our Python parser, Filbert, doesn’t support the global keyword yet. You can check which other slightly-more-advanced Python features are or aren’t yet included on Filbert’s readme: https://github.com/codecombat/filbert
I suppose in this case it’s okay. For most topics you probably shouldn’t revive dead threads unless you have a related issue or something, but in cases like this it’s always a good idea to check.