Update temp.py

Adding Caitlin's suggestion.