Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- a=input("What is your name? Say No to Shutdown.")
- if a=='Joe':
- print('Hello {}'.format(a))
- else:
- print('Im sorry I cant find anyone called',a,'on the network.')
- sys.exit(0)
- b=input('What is your password?')
- if b=='password':
- print("Ok Joe you have logged into ENW".format(b))
- else:
- print("Nien")
- sys.exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement