Function to calculate time taken
def cal_time ( dist , speed ) : NEW_LINE INDENT print ( " ▁ Distance ( km ) ▁ : " , dist ) ; NEW_LINE print ( " ▁ Speed ( km ▁ / ▁ hr ) ▁ : " , speed ) ; NEW_LINE return speed * dist ; NEW_LINE DEDENT