0

What's wrong with this code? Its not working

def greet(): print('hi there mister') Pin = input('enter password:-') if Pin != 'walls': print('incorrect password!') else: greet()

9th Dec 2018, 2:26 PM
Jamuhuri Fuschia
Jamuhuri Fuschia - avatar
2 odpowiedzi
+ 1
It works for me. What is the error you get?
9th Dec 2018, 2:57 PM
Paul
Paul - avatar
0
Oh thanks for reply. Think it is the IDE I'm using, a phone app. Asks for "custom input to separate multiple inputs"
9th Dec 2018, 3:35 PM
Jamuhuri Fuschia
Jamuhuri Fuschia - avatar