7 kyu
C is for Codewars
320 of 499brodiemark
Loading description...
Strings
ASCII Art
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.
Description should be language-agnostic now (removal of function name in examples) with the addition of languages other than Python
I made the necessary modifications, but because the output doesn't change by language, the description looks awkward. Is there a better way to do this? Or should I just remove the function name from the description entirely?
Lua translation !
Thanks!
My Python solution passes the full tests, but fails the example tests
Refreshed the page - fixed now !?!?
Fun kata!
Now let's create a kata for
B
... oh, waitActually, I was going to do M next, which is more interesting. But B could be done. How about this?
BBBB
B B
BBBB
B B
BBBB
Can't you combine all cool letters into one kata, the current one?
that would be a world better than expecting to one day have literally
dozens
of near duplicate kataAs long as there's agreement on what the "cool" letters are. :-) I certainly don't want to do all 26.
And there is already a kata that asks you to print multiple ascii art letters horizontally. It doesn't have the scaling factor, but that doesn't seem worth adding.
Based on the current rating (you are looking to get at least 80 % satisfaction rating), it might be worthwhile to incorporate a small feature that adds a bit of extra flair to the challenge.
I have an idea - a code-golf thing where the function can print any single letter, but it has to reuse basic components that occur in multiple letters in order to minimize the amount of code. I'm not really sure this will work, compared to printing each letter separately, and will take some investigation. Let me think about it.
Pretty confusing description.
If you could identify what was confusing, or have any suggestions how to clarify it, please share.
The width of the "C" is 4 in description but 5 in tests.
Thanks - fixed. In the first version of the kata the size of the figure was
4xsize
, but I changed it later to5xsize
. Forgot to update the figures.