• 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
menuett Avatar
Name:Unknown
Clan:Unknown
Member Since:Aug 2020
Last Seen:Jun 2021
Profiles:
    Following:2
    Followers:3
    Allies:2
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (18)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • menuett
      • commented on "Fractions class" kata
      • 5 years ago

      I used the magic method repr and get lots of errors like '37/40 should equal 37/40'. Can somebody give my hint as to what is going on here?

    • Custom User Avatar
      • St.Frank
      • commented on "Are they the "same"?" kata
      • 5 years ago

      thank you!

    • Custom User Avatar
      • g964
      • resolved a question on "Are they the "same"?" kata
      • 5 years ago

      Print them.

    • Custom User Avatar
      • St.Frank
      • created a question for "Are they the "same"?" kata
      • 5 years ago

      How to view the input of basic tests?
      Everything is correct except for the 10 basic test.

    • Custom User Avatar
      • MeDotPy
      • commented on "Are they the "same"?" kata
      • 5 years ago

      Same problem happens with C++

    • Custom User Avatar
      • Aaryan Prasain
      • commented on "Are they the "same"?" kata
      • 5 years ago

      printing did not work...it says expected:(true) but was:(false)

    • Custom User Avatar
      • Chrono79
      • commented on "Are they the "same"?" kata
      • 5 years ago

      That won't be of much help with arrays, try google with "printing an array in java"

    • Custom User Avatar
      • user9644768
      • commented on "Are they the "same"?" kata
      • 5 years ago

      System.out.println(input);

    • Custom User Avatar
      • Aaryan Prasain
      • commented on "Are they the "same"?" kata
      • 5 years ago

      so how do i print the input??

    • Custom User Avatar
      • menuett
      • commented on "Are they the "same"?" kata
      • 5 years ago

      Thanks! I will need some time to read this.

    • Custom User Avatar
      • Chrono79
      • commented on "Are they the "same"?" kata
      • 5 years ago

      https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#print-input

    • Custom User Avatar
      • menuett
      • commented on "Are they the "same"?" kata
      • 5 years ago

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

    • Custom User Avatar
      • menuett
      • commented on "Are they the "same"?" kata
      • 5 years ago

      Thanks! I didn't read the description well enough. Now I'm back to fixing bugs in my main code :)

    • Custom User Avatar
      • Chrono79
      • commented on "Are they the "same"?" kata
      • 5 years ago

      a or b might be nil or null or None or nothing (except in Haskell, Elixir, C++, Rust, R, Shell, PureScript).

      You're trying to sort something that's not a list.

    • Custom User Avatar
      • menuett
      • commented on "Are they the "same"?" kata
      • 5 years ago

      I think there's an issue with the python version. My arrays are called a1 and a2 and I can't sort the second one. Locally it works but here, I get

      Traceback (most recent call last):
        File "main.py", line 21, in <module>
          test.assert_equals(comp(a1, a2), False)
        File "/home/codewarrior/solution.py", line 3, in comp
          a2.sort()
      AttributeError: 'NoneType' object has no attribute 'sort'
      
    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...