# Convert from kPa to three other units of pressure. # Define the conversion factors. KPA_TO_ATM = 1 / 101.325 ATM_TO_PSI = 14.6959 ATM_TO_MMHG = 760 # Read the input value from the user in kPa. print("Enter a pressure in kPa") kPa = float(input()) # Convert from kPa to atmospheres, pounds per square inch and mmHg. atm = kPa * KPA_TO_ATM psi = atm * ATM_TO_PSI mmHg = atm * ATM_TO_MMHG # Display the results. print(kPa, "kPa is equal to", atm, "atmospheres") print(kPa, "kPa is equal to", psi, "pounds per square inch") print(kPa, "kPa is equal to", mmHg, "mmHg")