본문 바로가기

알고리즘 문제 풀기/Codeup

Codeup 1123 - 섭씨 온도를 화씨 온도로 변환

http://codeup.kr/JudgeOnline/problem.php?id=1123


Codeup 1123 - 섭씨 온도를 화씨 온도로 변환


1
2
3
4
5
6
7
8
 
celsius = input()
celsius = int(celsius)
 
fahrenheit = 9 / 5 * celsius + 32
 
print('%.3f' % fahrenheit)
 
cs