Repository navigation
exercise6/answer.py: has_id and is_vip are defined but never used — abandoned exercise?
#24
Unanswered
dab00gieman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In
answers/exercise6/answer.py, inside the firstelse:block:Neither variable is referenced anywhere else in the file. They sit inside the "too young to enter the club" branch, which suggests a planned compound-condition exercise (age + ID + VIP) that was started and dropped.
Was there a follow-up exercise for combining boolean conditions with
and/or, and should these lines be completed or removed?All reactions