• 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
dc22 Avatar
Name:Unknown
Clan:Unknown
Member Since:Feb 2021
Last Seen:May 2025
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (8)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Nton118
      • commented on "Validate Sudoku with size `NxN`" kata
      • 2 years ago

      I have the same error at 6th test
      "Invalid value types (boolean): True should equal False".
      I do not use any bool() functions, only return True or False.
      What can it be?

    • Custom User Avatar
      • blesma
      • commented on "Validate Sudoku with size `NxN`" kata
      • 4 years ago

      I think I figured out whats the issue.
      There is probably a True instead of a 1 in the grid. If you use something like isinstance(x, int) a bool will return True because bool is a subclass of int.

    • Custom User Avatar
      • dc22
      • commented on "Huffman Encoding" kata
      • 4 years ago

      No more help needed, I found the origin.

    • Custom User Avatar
      • dc22
      • commented on "Huffman Encoding" kata
      • 4 years ago

      I am testing Huffman encoding in Python: Passed tests : 2781 but Failed tests: 265

      I don't undestand the following error
      Log
      frequencies(l)
      l
      encode([],l)
      Test Passed
      ERROR restore sorted sequence from frequencies should succeed: [] should equal ['l']

      Can you help me Please

    • Custom User Avatar
      • FeliNUx42
      • commented on "Validate Sudoku with size `NxN`" kata
      • 4 years ago

      Unfortunatly I still don't find the error...

    • Custom User Avatar
      • Zachikk
      • commented on "Validate Sudoku with size `NxN`" kata
      • 4 years ago

      If you use isinstance:
      isinstance returns you True if you compare "True" or "False" with int.
      lst = [True]
      isinstance(lst[0], int) == True

    • Custom User Avatar
      • FeliNUx42
      • commented on "Validate Sudoku with size `NxN`" kata
      • 4 years ago

      Hello,
      I have the same error. All the other tests are valid. Did you find, what causes the error?

    • Custom User Avatar
      • dc22
      • commented on "Validate Sudoku with size `NxN`" kata
      • 4 years ago

      Is is possible to have the description of the 6th test "Should be invalid", I obtain the following error
      Invalid value types (boolean): True should equal False

      but I don't know why !!!

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...