Javascript Leap Year Function Python Format Print Float With String