#L0010. 期末评优
期末评优
1. Description
Award students based on their final exam performance in Chinese, Math, and English
- Total score over 270 分,and scores of all subjects are at least 80:全面发展奖
- Over 95 in one subject,and total score is at least 200:突出天赋奖
- If a student meets both criteria, he/she will get 全面发展奖
- A student will only get one 突出天赋奖 if he/she get over 95 in more than one subject
2. Input & Output
Input:
- Input order is Chinese, Math, English
- Use
input()as input. Notice that the value you get frominput()is a string - Refering code below to load multiple inputs
s = input().split(" ")
# 读取第一个输入,如果想要读入整数,就通过 int() 把它变成整数
input_1 = int(s[0])
# 读取第二个输入,不需要数字时,就保留字符串
input_2 = s[1]
Output:
- Use
print()for your output
Example
# Input:
100 100 85
# Output:
全面发展奖
# Input:
80 98 90
# Output:
突出天赋奖
# Input:
80 50 60
# Output:
没有奖励