Great exercise. I got the correct answer, but had to use the hints. I don't understand this part of the hint though >>>>
"You can check if a number is divisible with the % operator. Just do "if X % n == 0:" then X is divisible by n. That said, it's **more pythonic to write "if not X % n:"**

Why does "if not X % n:" replace "if X % n == 0:" ??

This is really confusing to me. Can someone explain this in layman's terms?

Created at: March 29, 2020, 3:29 a.m.; Updated at: March 29, 2020, 5:07 a.m.