Ad
  • Custom User Avatar
  • Custom User Avatar

    I assume you are using Python 3 (not yet supported here on CodeWars), as you use the print() (notice the brackets) function.

    Also, it seems you forgot to RETURN a value: your function just prints it on screen.

    Finally, you are returning a list of tuples, while you should return a list of lists.

    I hope this helps (and that CodeWars will notify me if you reply to this: I am getting very few messages notified, sigh...).