Is it possible to change the always_false function to always_true?



For this exercise, the always_false() function uses an and in the if statement to check the value of num. If the and is changed to an or, would the function become essentially always_true()?


NO, changing the and to an or does not convert the function from returning False always to returning True always. The condition where num is equal to 0 will return a value of False because the comparisons used are > and <. So, those tests will never evaluate to True for the case of num equals 0 and False or False will evaluate to False.