I thought it would be fun to solve all of these challenges by writing one-liner lambda functions. Challenges can be found at http://codingbat.com/python and were created by Nick Parlante