← Back to challenges

Is the Water Boiling?

PythonMediumstringsconditionsvalidation

Instructions

Create a function that determines if the temp of the water is considered boiling or not. temp will be measured in fahrenheit and celsius.

Examples

is_boiling("212F") ➞ True

is_boiling("100C") ➞ True

is_boiling("0F") ➞ False

Notes

The boiling point of water is 212F in fahrenheit and 100C in celsius.

python3
Loading editor…
to run
Walks through the solution with reasoning and edge cases.
Next: Count Instances of a Character in a String