Question: Solve the following python question, Use only if, else, elif solve in clear formats. Exercise 5: Write a Python program that reads a temperature value
Exercise 5: Write a Python program that reads a temperature value and the letter C for Celsius of F for Fahrenheit. Your program will then print a message indicating whether water is in solid (at most 0C/32F), gaseous (at least 100 C/212 F), or in liquid state (otherwise). For example: Please enter temperature: 89 C Water in liquid state Please enter temperature: 15 F Water in solid state Please enter temperature: 127 C Water in gaseous state
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
