8 kyu
Vexing Vanishing Values
3,268Kacarott
Loading description...
Debugging
Refactoring
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
What was it? I just removed a couple of lines.
This comment has been hidden.
An amazing kata. You need to see the explanation as to the generator expression. But it can only be seen once you have completed the kata. Great reply from the creator to explain the issue
This comment has been hidden.
This comment has been hidden.
I hope that answers your question
Thank you, sir, for your thorough explanation.
Noob question: Can I use the "list generator" several times on different elements? Or would it result in the same error?
What is the point of the test?
I found the top solution, but decided to 'cheat' instead. Maybe the test cases should have some safeguard against what I did?
I think, for an 8kyu I would rather there be many ways to solve, even if some solvers may do so without even understanding what the original bug was.
Good point.
missing tag:
refactoring
Added. Thanks for approving!