You never call the functions and you have many other problems like undefined variables and incorrect conditions.
pyTony
pyMod
6,330 posts since Apr 2010
Reputation Points: 879
Solved Threads: 989
Skill Endorsements: 27
Ignoring the fact that you define, but don't call, enter_password() and enter_name() functions ... at line 25, you get some input and assign it to variable pwrd, but at line 26, you're trying to check the value of variable input which you haven't assigned at all. And the way you test whether the user typed "hello" is to test whether the variable is equal to the string, not whether it's the same object as another undefined variable:
if pwrd == 'hello':
And at line 28, you're checking whether loop is equal to 2, not assigning the value to 2.
Hope this gets you started....
raptr_dflo
Practically a Master Poster
607 posts since Aug 2010
Reputation Points: 76
Solved Threads: 83
Skill Endorsements: 1
@raptr_dflo: Small correction: No input is a built in function, so actually it is defined, but of course not a string but a funcition.
pyTony
pyMod
6,330 posts since Apr 2010
Reputation Points: 879
Solved Threads: 989
Skill Endorsements: 27