Falsiness of value not recognised. What's wrong?


#1


Why is it that even when I enter the moon phase to be half (false), the first block of the code is obtained instead of the second?


#2

a single equal sign means assign value to variable, it doesn’t check if they are equal.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.