News

Python script to determine if a user supplied year is a leap year. Logic accepts a numerical input and uses mathematical calculations and nested conditionals to determine if the year is a leap year.
I recently switched to using python 2.5 from 2.4, one of the new language level features in 2.5 is conditional expressions. Which I thought was odd because I was already writing conditional ...