PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# instruction:
# first input: activaion code
# second input: current holding value
#
# activaton codes:
# Converts Degree Celcius to Kelvin in input: 1
# Converts kelvin to degree celcius: 2
# Converts degree celcius to Farenheit : 3
# Converts Farenheit to kelvin: 4
#
#
#eg: stdin: 1
# 45
# here 45°C converts to 318.15 K
#
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
print("Which one you need\n Celcius to kelvin (1),\n kelvin to Celcius(2)\n Celcius to Farenheit(3)\n Farenheit to kelvin(4) \n\"Type the associated number to run required function\"")
math= input()
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run