Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- d = list(map(int, input().split()))
- v = d[:7]
- b = d[7:13]
- s = d[13:]
- if sum(v) > sum(d) and sum(v) > sum(s):
- print("Оценки по обязательной программы")
- elif sum(b) > sum(v) and sum(b) > sum(s):
- print("Оценки по короткой программе")
- else:
- print("Оценки по произвольной программе")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement