Javascript Leap Year Function Python Example For Practice