Beta
Jimmy's Journey
127elmoiv
Loading description...
Puzzles
View
Career Accelerator
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.
Trivial map/filter/reduce is not a novel kata idea. Read the documentation, it literally says that your kata is worthless.
Trivial map/filter/reduce is not a novel kata idea.
.
.
Still a duplicate.
duplicate of what?
will mark resolved till you find the one this is a duplicate of :\
This kata lacks novelty.
Judging by this comment's score, you have been outvoted. Closing.
Hey guys. If you were to not use a ruleset and wanted to use a while loop, how would you solve it in python?
There're already way too many katas asking you to do this.
and couldn't you open that one right at the beginning, rather than waiting for the other ones to be resolved?
How should I know that there are katas alike >:(
you could randomized the length of the random paths a bit
Ok
.
There're no random tests now.
.
Added them ✓
The solution is accessible to the user.
here is what he meant about that.
Try it now, please. I added some fixtures
just put it where you actually need it: in the test cases, part.
Already did it. Sorry I was busy :)
.
The sample tests are broken.
Can you check it again?
apart from the problem below, you need fixed tests too in the "test cases" part.
I allowed contributors. I don't know what is wrong with "Test Case"
just put some fixed tests in addition. Those in the "sample tests" part aren't executed when the code is actually tested ("attempt" button), so you need those fixed tests in both parts.
Solved
no: there are still no fixed tests at all in the "test cases" part... :o
done.
....
But now, you don't have any random test left... :o
=> you need both!
note that you should use a list or tuple of tuples, rather than a dict: if a user tries the kata in py3.4, the order of iteration isn't garanteed (well, since you don't do anything with the dict, that should be good, but... Why not use the correct data structure?)
Random and Static Test cases ✓ Dictionary to list of tuples ✓ Sorry for any issue. It is my first kata here. Thank you guys for helping me corret my mistakes
("pro tip":
;) )
Thank you :)
This comment has been hidden.
thanks
not good enough: you're telling in the description that you send strings to the user, so do actually send strings to him, not lists.
can you try it again? I changed "\" to '|'
.