Question: cold = False windy = False #You may modify the lines of code above, but don't move them! #When you Submit your code, we'll change
cold False
windy False
#You may modify the lines of code above, but don't move them!
#When you Submit your code, we'll change these lines to
#assign different values to the variables.
#In this problem, we want to print the message, "You should
#wear a jacket today!" if it's cold or windy, or the message
#"You don't need a jacket today!" if it's not.
#
#At the bottom of this file, we've added some code that
#handles printing these two messages. For this code to work,
#the variable needjacket needs to exist. Its value should be
#True the boolean, not the string if it's cold or windy,
#False if it's neither cold nor windy.
#Add your code to create the variable needjacket with the
#appropriate value here!
needjacket True if ifcold True or windy True print
else:needjacket false
#Do not modify the code below. It will work if you have
#correctly create the variabl
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
