Draft
Count Until Zero
Loading description...
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.
Hello @Echo1995,
Due to large amount of kata published by you all of which turned out to be of a quality far from sufficient, I temporarily revoked your ability to create new kata. Please take a look at existing resources which are meant to support new kata authors:
#help-author
and#kata-ideas
channels.Please read through the resources linked above, an make sure you understand the described points. Do not hesitate to visit the Codewars Discord server with any questions you might have.
Feel free to poke me on Discord or write an email to
info@codewars.com
(with a link to this post) whenever you think you are ready to get your authoring ability back.Cheers!
Why, a
for
loop or recursion could solve this as well? Also how do you expect to enforce this?I think because the while loop directly models the problem's sequential reduction requirement. And I kinda notice most of the kata are solved using for loops so it might be nice if there's a kata that can be solved only using while loops.
But when you say that users must use
while
loop, tests have to check this.I see, thank you for the feedback. I'll stop authoring for now and just focus on learning more.
You're not using the Codewars Python Test Framework, making this kata impossible to complete. https://docs.codewars.com/languages/python/codewars-test/