Update temperature.py

after testing