Contact: aviboots(AT)netvision.net.il
39,961 questions
51,903 answers
573 users
celsius = 21 fahrenheit = (celsius * 1.8) + 32 print('%0.1f degree Celsius = %0.1f degree Fahrenheit' % (celsius, fahrenheit)) ''' run: 21.0 degree Celsius = 69.8 degree Fahrenheit '''
celsius = 31 fahrenheit = ((9.0 / 5.0) * celsius) + 32 print("Fahrenheit = " + str(fahrenheit)) ''' run: Fahrenheit = 87.80000000000001 '''