Speed, Time and Distance measurement

Initialize

Step Execution

def measurement(exe1):
if(exe1 ==1):
speedfun(distance,time)
if(exe1 ==2):
timefun(distance,speed)
if(exe1 ==3):
distancefun(speed,time)
measurement(exe1)
def speedfun(distance,time):
speedget=distance/time
return(speedget)
def timefun(distance,speed):
timeget=distance/speed
return(timeget)
def distancefun(speed,time):
distanceget=speed*time
return(distanceget)

Code Output