When I run this it only works when I enter in the input code which is the variable name not the string name can anyone help me please??
1 2 3 4 5 6 7 8 9 |
) code = input ( "What's your passcode/word going to be?" ) def passcode(enter): if code = = enter: print ( "ACCESS GRANTED" ) else : print ( "ACCESS DENIED" ) |