Write a Python program to convert temperature from degree celsius to
fahrenheit. [ Hint F = (C * 9/5) + 32 ]
Answers
Answered by
2
Explanation:
# Collect input from the user
celsius = float(input('Enter temperature in Celsius: '))
# calculate temperature in Fahrenheit
fahrenheit = (celsius * 9/5) + 32
print('%0.1f Celsius is equal to %0.1f degree Fahrenheit'%(celsius,fahrenheit))
Similar questions