My Python Learning Journal
Tuesday, September 27, 2011
LPTHW Exercise 29
Completed exercise 29. This exercise covered the 'if' statement in Python.
Some learnings:
The if statement does not need () after it
Should end with ':'
Since it is a block, it's contents should be indented
Here is the code.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment