while True: try: swim_d=int(input("Enter swimming distance(m): ")) swim_s=float(input("Enter swimming speed(km/h): "))