Javascript Leap Year Function Python Format String 2