Function to calculate distance traveled
def cal_dis ( speed , time ) : NEW_LINE INDENT print ( " ▁ Time ( hr ) ▁ : " , time ) ; NEW_LINE print ( " ▁ Speed ( km ▁ / ▁ hr ) ▁ : " , speed ) ; NEW_LINE return speed * time ; NEW_LINE DEDENT