Ad
  • Default User Avatar

    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) with return realfriends - that should work.