Then read this first. You're doing several things wrong there, for instance, your function friend is called in the tests with a list as argument. All your code should be inside it, unless you write another small function to decide if a name is a friend or not, but that function shouldn't be friend
It's still a good job!
Just keep practicing! you'll do those one liners too;) just dont give up:))
When you think you have done a good job figuring it out for 30m then you submit the kata and see the 1 line of code guy.
feelsbadman t.t
Thanks for actually marking it as a question because it is one :-D
OK, I understand now, did a few more katas and all was nice, thanks a lot for the answer ^^
Because
<==
doesn't exist, try with<=
Then read this first. You're doing several things wrong there, for instance, your function
friend
is called in the tests with a list as argument. All your code should be inside it, unless you write another small function to decide if a name is a friend or not, but that function shouldn't befriend
This comment is hidden because it contains spoiler information about the solution