Join IDNLearn.com and start exploring the answers to your most pressing questions. Find the information you need quickly and easily with our reliable and thorough Q&A platform.

(python) Given the formula for conversion from Celsius to Fahrenheit
Fahrenheit = 1.8 x Celsius + 32
Write a Python program that takes as input a temperature in degrees Celsius, calculates the temperature in degrees Fahrenheit, and display the result as output.


Sagot :

Answer:

initial_temp = float(input('Celsius Temperature: '))

final_temp = (initial_temp * 1.8) + 32

print(f'{final_temp} F')