本帖最後由 陳星翰 於 2020-7-28 11:44 編輯
- score=float(input(("please enter your score: ")))
- if (score>=90 and score<=100):
- print("Good job, u pass")
- elif (score>=80 and score<90):
- print("you passed with nice")
- elif (score>=70 and score<80):
- print("you kinda dumb, but still a pass")
- elif (score>=60 and score<70):
- print("you passed, but this is a bad score")
- elif (score>=0 and score<60):
- print("only raymond gets this score, get out")
- else :
- print("you dumb? this aint no score")
複製代碼 |