Skip to content

Commit

Permalink
Update 9.08.py
Browse files Browse the repository at this point in the history
  • Loading branch information
epequeno committed Jul 19, 2014
1 parent b1e3493 commit b0f6b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch09/9.08.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ def is_pal_num():
is_pal_num()

# My solution is much different from the authors solution. For exercize
# 9.7 I couldn't get a solution and look at the authors and ended up with
# 9.7 I couldn't solve it and had to look at the authors and ended up with
# a solution that was almost identical. In this case I solved it independently
# and got something totally different. I kind of like mine a little better
# since it's easier to follow the logic assuming the index notation doesn't
# throw you off. Simply put: check if each condition is true, if it is
# add another mile then move on to the next if statement until all conditions
# are met, then print the number minus the 3 added miles. The two values
# which satisfy the conditions are 198888 and 199999.
# which satisfy the conditions are 198888 and 199999.

0 comments on commit b0f6b67

Please sign in to comment.