Temperature Conversion In Python Code