2020-01-12 13:16:55 +01:00
|
|
|
#!/usr/bin/python2
|
2020-01-12 13:11:00 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
"""Rozwiązanie zadania 104."""
|
|
|
|
|
2020-01-12 13:48:47 +01:00
|
|
|
def fahrenheit(number):
|
2020-01-12 13:52:49 +01:00
|
|
|
|
2020-01-12 13:48:47 +01:00
|
|
|
if number < -273.15:
|
|
|
|
return -459.67
|
2020-01-12 13:54:47 +01:00
|
|
|
number = (number*9/5)+32
|
2020-01-12 13:48:47 +01:00
|
|
|
return number
|
2020-01-12 13:11:00 +01:00
|
|
|
|