Skip to content

Commit 0ad507f

Browse files
authored
added program to convert temperature👩‍💻
1 parent 320e2a6 commit 0ad507f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Python Program to convert temperature in celsius to fahrenheit
2+
3+
# change this value for a different result
4+
celsius = 37.5
5+
6+
# calculate fahrenheit
7+
fahrenheit = (celsius * 1.8) + 32
8+
print('%0.1f degree Celsius is equal to %0.1f degree Fahrenheit' %(celsius,fahrenheit))

0 commit comments

Comments
 (0)