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.
if your using python you can use try:
except:
copy your code, and press reset(this resets test case suite and code editor)
have you converted the input to a 2d list?
and btw does any one lnows hot can i repair the test thing i think i broke it
python
[[],
[1, 2],
[1, 2],
[1],
[1, 2, 1, 2, 1, 2],
[],
[]
]
'Player 1 wins!' should equal 'Player 1 has a turn'
how HOWWWWWWW ?????
This comment is hidden because it contains spoiler information about the solution
the list or dictionary of who eats who
how do i get the animal list (python)
Also if the same person listened to it more than once a day it should only count them once.
Example
mount_moose = Song('Mount Moose', 'The Snazzy Moose')
day 1
mount_moose.how_many(['John', 'joHN', 'carl']) => 2
Thanks :)
"Days" are really test cases. so with each new test case, you are suposed to calculate the number of new listeners.
If on the first test
mountMoose.howMany(['John', 'Fred', 'BOb', 'carl', 'RyAn']);
is called, then your function should return 5 because they are all new listeners, as it is the first test (or "day").On the second test (or "day") if
mountMoose.howMany(['JoHn', 'Luke', 'AmAndA']);
is called, then your function would retrun 2 because John already listened in the first test.Hopefully this helps.
what is the day and does it affect the code?
and how am i supposed to know if he changed the thing?
Thanks :)
Loading more items...