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.
Hi @H1kmetH4SH and welcome to Codewars!
You must return your solution, rather than
print
it - if you are new to the site you can read this helpful document Solving katas which will explain the most common early mistakes people make.Also here is a useful link for Troubleshooting your solutions
Your current code looks OK to me, you just replace
print(realfriends)
withreturn realfriends
- that should work.