input not going into list.
BrockTempler (0)

I have tried so many things so well just have to see if you guys can come up with something new I want the answered to stay thoe. problem on 2 function menu()

You are viewing a single comment. View All
InvisibleOne (3230)

It looks like userInput that you are trying to make global on line 22 doesn't exist, you need to create it outside of a function, and then if you want to use it in the function you make it global, like this:

name = "Bob"

def changeName():
  global name
  name = "Bill"