sample solution
tempc = input("enter the temperature in Celsius: ") tempc = float(tempc) tempf = ((9.0 / 5.0) * tempc) + 32.0 print(f"{tempc:.1f} degrees Celsius is {tempf:.1f} degrees Fahrenheit")