I don't know why the dislike; we all start somewhere... I understand what you mean, but if-statement doesn't work like that. The computer isn't going to read word by word the print statement you read and determine if that's the correct solution. Take this Sudo code as an example:
if this statement is true:
Perform this action1
else (otherwise):
Perform this action2
if the first statement is correct (True), it'll perform that action below regardless of what you write.
If you're trying to use different modulo number such as %7, you might get funky results, that not the code issue that more of a modulo problem, as its very common to use %2. Any modulo higher then 2 might yield different results.