Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Make a kata where your task is to write a function that draws you this
Unbelievable lol
You were indeed tripping
Hi @buudee625, please see my reply to this comment below your raised issue:
https://www.codewars.com/kata/6368426ec94f16a1e7e137fc/discuss#6391da82641a2e000eb617bb
Hi @buudee625 - I'm looking at the Python tests, both in the full test suite and the preloaded Sample Tests: the example that you are asking about appears to me as:
In your screenshot, the value for the test has been modified from 2 to 1. As this is not what is currently in the kata tests, are you sure that you didn't modify it yourself while coding your solution?
Try this: copy your code locally (it will be deleted when you press Reset), then press "Reset" below the kata to reset the values of the test suite. Now look to see what the kata test settings are - you should see:
('>-----<-->--<-----', 2)
Please let me know if this does/doesn't work so I can close the Issue or look into it further.
@benjaminzwhite could you please explain why the expected output for >--< is 1 in one test and 2 in another? Per your logic it will be 2 steps and I'm stuck on this for days because the tests are inconsistent!
Can someone PLEASE explain this? Am I tripping or the tests are incorrect? Please see attachement: https://i.imgur.com/A3W5SON.png
What is ">--<" supposed to return? In one test it's 1 and in another is 2?!?
I've been on this question on and off for three days! ðŸ˜
I'll be honest, I did not expect this to pass because it's MOST definitely not a fool-proof. Even something as simple as "forums.apple.com" will return "forums" instead of "apple". The test needs to expand WAY far for real world application.
This madlad even imported string just to rub it in your face
You really manually made that hashmap... lol
This comment is hidden because it contains spoiler information about the solution
You can always count on someone to come up with a one-liner lol
This comment is hidden because it contains spoiler information about the solution
When you want to just waste your space complexity
You wouldn't need .strip() to fulfill this question but it's best to have it in case if they include a ' ' in the beginning or end of the list.