编写程序输入一个0~100的数:大于或等于90是A大于或等于80小于90是B大于或等于70小于80是C大于或等于60小于70是D小于60是E用多分支结构写出
score = int(input("请输入一个0~100之间的数:"))
if score >= 90: print("A") elif score >= 80: print("B") elif score >= 70: print("C") elif score >= 60: print("D") else: print("E")
原文地址: https://www.cveoy.top/t/topic/bRwN 著作权归作者所有。请勿转载和采集!