Skip to content
Snippets Groups Projects
Commit 5e04477f authored by pasi kanto's avatar pasi kanto
Browse files

tehty

parent b896d7bd
No related branches found
No related tags found
No related merge requests found
arvosana = int (input("Anna pisteet "))
if (arvosana<=1):
print("arvosanasi on 0")
elif(arvosana>=2) and (arvosana<=3):
print("arvosanasi on 1")
elif(arvosana>=4) and (arvosana<=5):
print("arvosanasi on 2")
elif(arvosana>=6) and (arvosana<=7):
print("arvosanasi on 3")
elif(arvosana>=8) and (arvosana<=9):
print("arvosanasi on 4")
else:
print("arvosanasi on 5")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment