sibinasto

01. Moon

Dec 15th, 2020
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import math
  2.  
  3. speed = float(input())
  4. need_fuel = float(input())
  5. distance = 384400 * 2
  6. time = distance / speed
  7. total_time = time + 3
  8. fuel = need_fuel * distance
  9.  
  10. print(math.ceil(total_time))
  11. print(round(fuel / 100))
Advertisement
Add Comment
Please, Sign In to add comment