<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
These are the instructions: "Create a while loop that only executes when slaying is true. For this exercise, set slaying to false in the body of the loop. "
If I set slaying to false using
slaying = false
The code will be correct and I can move on.
But if I use
slaying = 0
I’m told that I did not set slaying to false. Shouldn’t both styles be correct? Shouldn’t my answer be more correct, given that a previous lesson instructed us to type as little as necessary?