Created
February 25, 2017 21:46
-
-
Save savolla/d240b87f6f46dc49607a5ac8ccf18b5f to your computer and use it in GitHub Desktop.
not a big deal..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#functions | |
def height(): | |
print("please enter your height in cm format") | |
height = int(input()) | |
if height < 150: | |
print("too short..") | |
elif height > 180: | |
print("very tall..") | |
else: | |
print("normal") | |
#real program | |
print(""" | |
================================= | |
welcome to test system | |
please enter your name and then | |
your password. | |
================================= | |
\n""") | |
name = input("enter your name: ") | |
if name == "savolla": | |
print("are you sure about you are savolla?") | |
password = input("password: ") | |
if password == "123": | |
print("welcome back savolla!\n\n") | |
height() | |
else: | |
print("of course you are not.") | |
else: | |
print("wrong answer.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment