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.
The cycle of paper beats scissors, which beats rock, which beats paper
Your level should be 3 at that test.
Confitions
Return "Easy fight" if your warrior is 2 or more levels higher than your enemy's level. Return "A good fight" if your warrior is either 1 level higher or equal to your enemy's level.
I get a test (logged my level and enemy level)
Log
4 2
Your enemy isn't exactly your level. Provide the appropriate response: 'Easy fight' should equal 'A good fight'
?????????????
I have the same error at 6th test
"Invalid value types (boolean): True should equal False".
I do not use any bool() functions, only return True or False.
What can it be?
that means it isn't best practice :)
It is very clever, though.
someone poease explain me what's going on here!
I don't get it (
what is 'psrp' ?
Please read this: https://docs.codewars.com/training/troubleshooting
Because your code returns a list of strings instead of a list of numbers.
This comment is hidden because it contains spoiler information about the solution