def convertir():
		"""Convertir température Fahrenheit en Celcius
		"""
		print("Convert température Fahrenheit en Celsius avec ce programme!")
		print("CTRL+C to arrêter.")
		while True:
				try:
						fahr = float(input("Temperature F? "))
				except KeyboardInterrupt:
						print("\nExiting converter...")
						break
				except ValueError as exc:
						print(exc)
				else:
						cels = (fahr - 32) * 5 / 9
						# cels = round(cels, 2)  # Round to two decimal places
						print("It is {} degrees Celsius".format(cels))

def main():
	convertir()
	return 0

if __name__ == '__main__':
    main()