Update quickstart-python.rst

Use more Pythonic idioms for ranges, random selection.
Typo.
Merge pull request #3 from tseaver/patch-1

Update quickstart-python.rst