Python codes from codingbat.com