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.
players has a .name property. I thought part of the fun was that you can't see the property by viewing the list.
It is there. Try print(players[1].name)
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?
Print the
players
array to the console. The array used in the example test cases is different than the array used in the description.