Advertisement
Gowwa

Untitled

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