期末成绩_python3
KiKi算期末成绩
http://www.nowcoder.com/questionTerminal/4ef07b4f80fc4027a4b90e2245f8f637
l = list(map(int, input().split())) x = [0.2, 0.1, 0.2, 0.5] r = list(map(lambda x,y:x*y, l, x)) print('{:.1f}'.format(sum(r)))
KiKi算期末成绩
http://www.nowcoder.com/questionTerminal/4ef07b4f80fc4027a4b90e2245f8f637
l = list(map(int, input().split())) x = [0.2, 0.1, 0.2, 0.5] r = list(map(lambda x,y:x*y, l, x)) print('{:.1f}'.format(sum(r)))
相关推荐