Could you have avoided that
for-loop entirely on line 22 and just assigned
range(0,6) directly to
- Exercise 32. Loops and Lists
- from Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code, Third Edition, ...
- Publisher: Addison-Wesley Professional
- Released: October 2013
Share this highlighthttp://www.safaribooksonline.com/a/learn-python-the/2089/