My Python Learning Journal
Thursday, August 4, 2011
LPTHW - Exercise 7
In exercise 7, we learn a bit more about printing. I typed the program, added some comments to explain what it does and got it to work.
Some observations:
Ending a print statement with a ',' as we see on line 29, prevents a newline from being printed
Multiplying a String, concatenates the String with itself, that many times (as seen on line 11)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment