python-basics-exercises
python-basics-exercises copied to clipboard
Python Basics: A Practical Introduction to Python 3
Just changed the variable name.
Changed the key from 'favorite_color' to 'favorite color' and vice versa as required in exercises 3 and 4.
Quite short with two nested for loops: ``` cat_count = 100 cats = [False for i in range(cat_count)] for step in range(0, cat_count): for selected_cat_index in range(step, cat_count,step + 1...
Hi
In reading the exercise, the winner has to win 2 of 3 regions. This code seems to count wins as total vote counts across all regions. So the exercise was...