Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- speed = float(input())
- need_fuel = float(input())
- distance = 384400 * 2
- time = distance / speed
- total_time = time + 3
- fuel = need_fuel * distance
- print(math.ceil(total_time))
- print(round(fuel / 100))
Advertisement
Add Comment
Please, Sign In to add comment