All end of chapter questions' solutions in python