Write a function to return the distance covered by a moving object based on speend and given time


Topic: Write a function to return the distance covered by a moving object based on speend and given time

Solution

def cal_distance(time:float,speed:float)->float:
    return time*speed



List all Python Programs