Question: PLEASE SO THIS USING PYTHON We pass in 2 boolean inputs, cold and rainy. You should output a single string: ('cold' or 'warm') ' and

PLEASE SO THIS USING PYTHON
We pass in 2 boolean inputs, cold and rainy.
You should output a single string: ('cold' or 'warm') ' and ' ('rainy' or 'dry') based on these inputs.
('cold' or 'warm') means you should use on of the two words, depending on the input boolean value.
for example False, True = 'warm and rainy'
HERE IS WHAT THE PROVIDED:
# Get our boolean values from the command line import sys isCold= sys.argv[1] == 'True' isRainy= sys.argv[2] == 'True'
# Your code goes here
I ALSO ATTATCHED THE EXPECTED OUTPUT
#Get our import sys the command Line Collapse Boolean 4 sCold- sys.argv' True 5 sRainy- sys.argv 2]True 4 3. Boole # Your code goes here We pass in 2 boolean inputs, cold and rainy You should output a single string: ( "cold" or "warn.) . and . (Tainy' or based on these inputs. 'dry') 'cold or 'an) means you should use on of the two words depending on the input boolean value Chock It LAST RUN on 2/19/2018. 1.2B: 18 PM Program Output Program Failed for Input:True True Expected Output: cold and rainy Your Program Output Your output was incorrect. Try again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
