Write at least five lines of Python code that:
In [ ]:
Be sure to compare your answer to what you calculated as the pre-activity. If you get a different answer, review the actual Python output in Models 1 and 2.
Now add a way for a user to input a temperature in Farenheit then convert it to both celsius and kelvins. Make sure that you communicate with the user in when gathering input and printing results. Do all of this in a single code
cell.
In [ ]:
make sure that you test your code with 450 and at least one other temperature that you can verify so that you know your code functions reasonably well. these are called test cases and we will be doing things like this a lot.
Describe the test cases and results.
Find a line of code from today’s activity that exemplifies each of the following programming terms. Copy and paste the code into a markdown cell below, formatting the example of the term in the line of code as bold italic.
For example, for the term “expression”, a line of code would be:
hot = ***273 + 100***
where ***273 + 100***
is the example of an expression and is bold italic.
now you do these (each in their own cell):