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.
Python sample test is wrong. Final solution accepted when sample test fails.
Printing list gives me memory adresses in python! How can i solve that?
<main.Player object at 0x7f0f2129af60> should equal 'a'
Thank you! I enjoyed it!
I print the players in python and result is as follows:
[<main.Player object at 0x7ffbf3a11828>,
<main.Player object at 0x7ffbf27b6ef0>,
<main.Player object at 0x7ffbf27b6860>,
<main.Player object at 0x7ffbf27b66a0>,
<main.Player object at 0x7ffbf27b6668>,
<main.Player object at 0x7ffbf27b6470>,
<main.Player object at 0x7ffbf27b6630>,
<main.Player object at 0x7ffbf27b6438>,
<main.Player object at 0x7ffbf27b6518>,
<main.Player object at 0x7ffbf27b6358>]
Is codewars changing something in test framework in buggy way, or this cata is not ready for python?
Worked properly on py3, there is some floor division changes from py2 but I'm not into details.
same with me.
I switched to python 2.7 interpreter and all passed.
Correct py3 code didnt work.
Now however I cannot save solution.
message: Great! You may take your time to refactor/comment your solution. Submit when ready.