Answered step by step
Verified Expert Solution
Question
1 Approved Answer
python 1. Let's create a temperature program! Complete the following lines of code: a. Create a variable called temp and set its value to user
python
1. Let's create a temperature program! Complete the following lines of code: a. Create a variable called temp and set its value to user input. The input should be converted to a float. You may be creative with the input prompt, but it should indicate to the user to enter a temperature in Fahrenheit. b. Create an if statement. This if statement should execute its body when temp's value is greater than 32. 1. Its body should have a statement that outputs the message "It is not freezing." c. Create an else statement. 1. Its body should have a statement that outputs the message "It is freezing Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started