Write a function to return the speed of moving object based of distance travelled in given time


Topic: Write a function to return the speed of moving object based of distance travelled in given time

Solution

def cal_speed(distance:float,time:float)->float:
    return distance/time



List all Python Programs