• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
maedox Avatar
Name:Pål Nilsen
Clan:Unknown
Skills:krav maga, javascript, python, rust
Member Since:Oct 2014
Last Seen:Feb 2022
Profiles:
Following:1
Followers:1
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (4)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • ejini战神
    • resolved a question on "By the Power Set of Castle Grayskull" kata
    • 4 years ago
  • Custom User Avatar
    • GiacomoSorbi
    • commented on "By the Power Set of Castle Grayskull" kata
    • 11 years ago

    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...).

  • Custom User Avatar
    • maedox
    • commented on "Vowel Alternations" kata
    • 11 years ago

    I'm getting the same error. :-/

  • Custom User Avatar
    • maedox
    • created a question for "By the Power Set of Castle Grayskull" kata
    • 11 years ago

    This comment is hidden because it contains spoiler information about the solution

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...