Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = list(map(int, input().split()[:24]))
- litre_92_price = 0
- litre_95_price = 0
- for i in range(1, 12, 2):
- litre_92_price += a[i] / a[i - 1]
- for i in range(12, 24, 2):
- litre_95_price += a[i] / a[i - 1]
- litre_92_price /= 6
- litre_95_price /= 6
- print(litre_92_price)
- print(litre_95_price)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement