Basic Knowledge of Python-Two

一.判斷語句的應用 1.if/elif/else score=int(input("please input your score:")) if score>=90: print("Grade A") elif score>=80: print("Grade B") elif score>=70: print("Grade C") elif score>=60: p
相關文章
相關標籤/搜索