Computer Science, asked by tripathiutkarsh833, 5 hours ago

21- Write a program in python to read temperature in Celsius and print it into Fahrenheit

Answers

Answered by Shubanms
0

Answer:

Explanation:

# Collect input from the user  

celsius = float(input('Enter temperature in Celsius: '))  

 

# calculate temperature in Fahrenheit  

fahrenheit = (celsius * 1.8) + 32  

print('%0.1f  Celsius is equal to %0.1f degree Fahrenheit'%(celsius,fahrenheit))

Similar questions