Skip to content

Commit 79c78fc

Browse files
Merge pull request seeditsolution#251 from sumit120398/patch-2
Celsius to fahrenheit
2 parents 966b7ec + 8db8845 commit 79c78fc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: Python program to convert Celsius to Fahrenheit

+9
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)