Bryce H.

asked • 02/25/23

how to code this?

1.Create 2 functions; one to convert a value from Fahrenheit to celsius and the second function to convert from celsius to Fahrenheit, remember to return the values in the function statement.

Create a new python file called ICE1.py. Using Import, import your new functions script in the ICE.py script.


2.Create a new function in your functions.py script called NullToBooleanConverter(). If null (None), return false, otherwise return true. (Hint: this can be done with one line of code using comparison operators)

In the ICE1.py file and using the print() function, test and invoke the function using a non-null variable and a variable that is null.



1 Expert Answer

By:

Nicholas V. answered • 02/26/23

Tutor
4.9 (52)

Computer Science Expert

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.