Original Post
I am having trouble modifying a variable from inside a function defined at the same scope: I get the error: local variable 'minutes_left' referenced before assignment Please help me out, because online tutorials are not.
minutes_left = 60 * 24 * 7
...
def crossroads():
...
minutes_left = minutes_left - 1 # error