current_speed = float(input("Enter your current speed: ")) potential_speed = float(input("Enter your expected potential speed: ")) distance_expected = float(input("Enter the distance you expect to follow for: ")) time_current_speed = distance_expected / current_speed time_potential_speed = distance_expected / potential_speed print("time_current_speed: " + str(time_current_speed*60)) print("time_potential_speed: ", time_potential_speed*60)