Leapyear check in Python using nested if & logical operators.

Published --