Skip to content

Commit 8db8845

Browse files
authored
Celsius to fahrenheit
Python program to convert Celsius to Fahrenheit
1 parent 229f8d6 commit 8db8845

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
celsius = float(input('Enter temperature in Celsius: '))
2+
3+
4+
5+
6+
7+
fahrenheit = (celsius * 1.8) + 32
8+
9+
print('%0.1f Celsius is equal to %0.1f degree Fahrenheit'%(celsius,fahrenheit))

0 commit comments

Comments
 (0)