grabbike
distance=float(input("distance=")) speed=float(input("speed=")) if distance<=2: pay1=distance*6000 print("The pay is", pay1) else: pay2= 12000 + (distance-2)*3500 + (distance/speed)*60*350 print("The pay is", pay2)
distance=float(input("distance=")) speed=float(input("speed=")) if distance<=2: pay1=distance*6000 print("The pay is", pay1) else: pay2= 12000 + (distance-2)*3500 + (distance/speed)*60*350 print("The pay is", pay2)