题解 | KiKi算期末成绩
KiKi算期末成绩
https://www.nowcoder.com/practice/4ef07b4f80fc4027a4b90e2245f8f637
zong=f'{sum(map(lambda x, y: x*y, map(int, input().split()), [0.2, 0.1, 0.2, 0.5])):.1f}' print(zong)
取值和计算都在zong中,最后打印总就好了
KiKi算期末成绩
https://www.nowcoder.com/practice/4ef07b4f80fc4027a4b90e2245f8f637
zong=f'{sum(map(lambda x, y: x*y, map(int, input().split()), [0.2, 0.1, 0.2, 0.5])):.1f}' print(zong)
取值和计算都在zong中,最后打印总就好了
相关推荐