"Car route: A car can cover distance of N kilometers per day. How many days will it take to cover a route of length M kilometers? The program gets two numbers: N and M." - python coding question

 


 

CODING QUESTION

A car can cover distance of N kilometers per day. How many days will it take to cover a route of length M kilometers? The program gets two numbers: N and M.

SOLUTION

from math import *
speed=float(input())
length=float(input())
print(ceil(length/speed))

Input : 

700

750

Output : 2