0:45 PM Sun Feb 18
zyBooks My library > COSC 1436: Programming Fu
4.5: Detecting ranges with branches
CHALLENGE ACTIVITY
4.5.5: Working with ranges
Jump to level 1
When the input variable temp_in_degrees is:
less than 33, output 'Too cold'.
between 33 inclusive and 92 exclusive, output 'Fine'.
greater than or equal to 92, output 'Too hot'.
Click here for examples
Ex 1: If the input is 32, then the output is:
Too cold
Ex 2: If the input is 91, then the output is:
Fine
Ex 3: If the input is 93, then the output is:
Too hot
temp_in_degrees = int(input())