Python exercises and solutions