NameError problem
jasonpark (2)

The output says that I have a NameError: name 'month' is not defined. But I'm pretty sure it is returned from the function "get_filters()". What am I doing wrong here? Thanks in advance to all that help.

You are viewing a single comment. View All
jasonpark (2)

@leon332157 how do i make the variable global when it is produced in a function from a user input? also, when the function returns a variable, does that not make it global?