[Courses] [python] Lesson 3: Fun with Strings and Lists
lenore borisova
orangegirl at gmail.com
Thu Jul 7 20:18:54 UTC 2011
Interesting that when you multiply and use one loop compared to using two
loops, it changes the width of the histogram because it makes the spacing
wider between each asterisk on the same line.
one loop:
* *
* * * *
* * * * * * * *
* * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * *
* * * * * * * * *
* * * * * * *
* * * *
* *
*
two loops:
* *
* * * *
* * * * * * * *
* * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * *
* * * * * * * * *
* * * * * * *
* * * *
* *
*
Lenore
More information about the Courses
mailing list