Answer to Question #292691 in Python for Satvik

Question #292691

It takes 4 hours to drive a distance of 150 km in car.create a program to calculate the average speed in km/h


1
Expert's answer
2022-02-01T12:30:16-0500
def average(distance,time):
    return distance/time
    
distance = 150
time  = 4


print('Average speed is : ',average(distance,time))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS