5 kyu
Now that's a crib!
97 of 305St3f4n
Loading description...
Fundamentals
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.
python new test frameworks
Approved.
Like for this kind Kata!
Even though my solution is correct for all."). But I'm also getting another where my crib is correct but it isn't passing the test. See a screenshot here: https://pasteboard.co/JOce5gb.png
This issue isn't present in actual attempting of the kata, aka sumbission, but the first trial case is indeed incorrect.
Test Results: Testing Lets see the penthouse Log Your house:
/___
/___
| _ | ||_|| What it should look like:
/___\ /___
| _ | ||_|| Expected: ' ___ \n /___\ \n/___\\n| _ |\n||_||', instead got: ' ___\n /___\\n/___\\n| _ |\n||_||'
can anyone suggest me
Description formatting is broken.
I am getting 2 bugs in your evaluation code: the first is the same as dinglemouse's error ("The peak of my roof (e.g. 'Your house') is misaligned for cribs 1 and 2 but fine for crib 3, even though my solution is correct for all."). But I'm also getting another where my crib is correct but it isn't passing the test. See a screenshot here: http://pasteboard.co/xRyZfXEVd.png.
You have added an unnecessary newline at the very end, but everything else seems ok. See at the photo? :)
Sweet, it's working now. Thanks!
Thanks for the nice kata! Really appreciated it :)
Very good one. :-)
Danke :)
Hey
Steffen
, this one is ready to get out of beta, would be nice if you could approve it..Done! :-)
Again, thx! :)
Some of the console.logs in the tests seem to have an extra space after the newline? e.g.
'Your house:\n '
Yes, codewars gave me some trouble aligning the rows when printing the house. It was not rendering well so I had to add a space to a few lines to align things up :D Does it look fine?
The peak of my roof (e.g. 'Your house') is misaligned for cribs 1 and 2 but fine for crib 3, even though my solution is correct for all.
CW seems messing up spaces in the console but I don't know how/why it happens. I am using Chrome. Maybe other browsers different? Who knows? Never mind.
Yes the first line gave me trouble too (the roof) when printing and I'm also on Chrome. Well, I've removed the space so its just a newline now, maybe it will look fine for others...