Created
May 12, 2022 07:08
-
-
Save mnagy/d9647f84089aac51d421600f91522a25 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/python | |
meno = input("Zadaj meno: ") | |
print(f"Ahoj, {meno}!") | |
meno_malym = meno.lower() | |
if meno_malym == 'martin': | |
print("Si dospely") | |
elif meno_malym == 'hanka' or meno_malym == 'sebastian': | |
print("Si dieta") | |
else: | |
print("Neviem, ci si dieta, alebo dospely") | |
print(f"Tvoje meno ma {len(meno)} pismen.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment