Question: Having an issue with this problem. I think something is wrong with the variables - cold and rainy. bool-input.fl... X 6.2. Boolean... X Collapse Challenges
Having an issue with this problem. I think something is wrong with the variables - cold and rainy.

bool-input.fl... X 6.2. Boolean... X Collapse Challenges Start 6. 2. Boolean input inputi 'cold We pass in 2 boolean inputs, cold and rainy. Store these in variables named cold and rainy. You should output a single string cold warm and rainy dry' based on these inputs. input2 rainy' In programming, the l character is used to denote possible values. So 'cold warm' means you should use one of the two words, depending on the input boolean value. - true input1 = 'cold' false for example if cold = false and rainy = true your program would print out 'warm and rainy. Keep in mind that when we write cold = false and rainy = true, we are not analyzing the text 'false' or the text 'true'. We are analyzing the boolean values true and false. input2 = Trainy input2 = 'rainy rue Check it! false true false I cold rainy cold dry warm rainy warm dry LAST RUN on 2/3/2020.5:06:47 PM ['warm dry'] Not quite right, make sure you are handling all four scenarios End Next bool-input.fl... X 6.2. Boolean... X Collapse Challenges Start 6. 2. Boolean input inputi 'cold We pass in 2 boolean inputs, cold and rainy. Store these in variables named cold and rainy. You should output a single string cold warm and rainy dry' based on these inputs. input2 rainy' In programming, the l character is used to denote possible values. So 'cold warm' means you should use one of the two words, depending on the input boolean value. - true input1 = 'cold' false for example if cold = false and rainy = true your program would print out 'warm and rainy. Keep in mind that when we write cold = false and rainy = true, we are not analyzing the text 'false' or the text 'true'. We are analyzing the boolean values true and false. input2 = Trainy input2 = 'rainy rue Check it! false true false I cold rainy cold dry warm rainy warm dry LAST RUN on 2/3/2020.5:06:47 PM ['warm dry'] Not quite right, make sure you are handling all four scenarios End Next
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
