Thank you for the input on how to share code, I will do that from now on.
As it turned out… I wasn’t supposed to use:
year == (year % 4)
I was supposed to use:
year % 4 == 0
As to why I was supposed to use the latter, I have no idea. Maybe I’m not fully grasping the “%” meaning or use. I know its supposed to be a mathematical problem that results in a “True” result.
8 hours later
I realized that the code:
2000 == (2000%4)
Results in a “False” result, because 2000%4 = 500, so therefore 2000 does not equal 500, and my code would spit out the wrong answer.
Then I realized that the modulas “%” function is used to help realize that a math problem will result in a “0” answer, only if the prenumber is evenly divisible by the postnumber…
So all in all, I never got the correct code written to solve the problem. But, I did write this code that solves it a different way:
year = int(input())
If year%4 == 0 and year%100 == 0 and year%400 == 0:
print (“Leap year”)
print (“Not a leap year”)
So I just moved on in my lessons.