Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book 2 - Page 116 #6

Closed
nicholastjohnson opened this issue Sep 22, 2014 · 1 comment
Closed

Book 2 - Page 116 #6

nicholastjohnson opened this issue Sep 22, 2014 · 1 comment

Comments

@nicholastjohnson
Copy link

On page 116 going into page 117, item #9 instructs us to "Refactor".

However, the code block that follows, even when copied and pasted, doesn't function properly. After a bit of debugging, I found that answer was bound to a string, so in the elif, we're trying to compare a string to an int resulting in a failure every time.

It is possible that this was intentional to get us to continue debugging and practicing to get it working; however, I very nearly moved on, since that fact was clearly stated.

PS - it is entirely possible that I did something else wrong and this entire issue is moot. :)

@mjhea0
Copy link
Contributor

mjhea0 commented Jun 9, 2015

updated!

@mjhea0 mjhea0 closed this as completed Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants