Javascript Leap Year Function Python Format Integers Rules Chart