Question: In python Q1) Write program that will convert Fahrenheit temperature obtain from user to centigrade. The program prints the message x F is y C..

In python In python Q1) Write program that will convert Fahrenheit temperature obtain from

Q1) Write program that will convert Fahrenheit temperature obtain from user to centigrade. The program prints the message "x F is y C.". Later it compares the temperature in centigrade and predicts weather based on the following conditions 1) 2) 3) If y less than O degree centigrade If y is greater than O degree centigrade If y is greater than 21 degree centigrade print " Below Freezing" print "Above Freezing" print "Summer time" User enters a temperature in Fahrenheit For conversion round the temperature to 1 digit after the decimal point. Example OutPut RESTART: C:/Users/sanjay/6010691/2018aanjay/code/Labs.py-" Enter a temp in Fahrenheit: 20 20.0F1s-6.7 C Below Freezing RESTART:C:/Users/sanjay/6010691/W2018sanjay/code/Lab5.py Enter a temp in Fahrenheit: 84 84.0F is 28.9 C Summer like RESTART: C:/Users/sanjay/6010691/W2018sanjay/code/Labs.py Enter a temp in Fahrenheit: 35 35.0F 18 1.7 C Above Freezing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!