Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
>>> while True:
|
||||
k = float(input('K ? '))
|
||||
print("%g Kelvin = %g Celsius = %g Fahrenheit = %g Rankine degrees."
|
||||
% (k, k - 273.15, k * 1.8 - 459.67, k * 1.8))
|
||||
|
||||
|
||||
K ? 21.0
|
||||
21 Kelvin = -252.15 Celsius = -421.87 Fahrenheit = 37.8 Rankine degrees.
|
||||
K ? 222.2
|
||||
222.2 Kelvin = -50.95 Celsius = -59.71 Fahrenheit = 399.96 Rankine degrees.
|
||||
K ?
|
||||
Loading…
Add table
Add a link
Reference in a new issue