Untitled
python
a month ago
315 B
1
Indexable
Never
# Ask the user for the temperature in Celsius celsius = float(input("Enter the temperature in Celsius: ")) # Convert Celsius to Fahrenheit using the formula fahrenheit = 32 + celsius * (9/5) # Display the temperature in Fahrenheit print(f"The temperature in Fahrenheit is {fahrenheit} degrees Fahrenheit.")