You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :)
The text was updated successfully, but these errors were encountered:
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. :)
The text was updated successfully, but these errors were encountered: