• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Michael
Clan:Unknown
Member Since:Jun 2019
Last Seen:Mar 2021
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (16)
  • Needs Resolution
    • Hydra17
    • commented on "Convert boolean values to strings 'Yes' or 'No'." python solution

    It is not PEP8 compliant to use the == equality operator to compare values to booleans. We should use keyword 'is' instead.

    • Hydra17
    • commented on "Century From Year" kata

    Didn't exactly feel like an 8 kyu exercise. The implementation was simply enough, but the logic I feel like is a bit of a head scratcher.

    • Hydra17
    • commented on "Multiplication table for number" kata

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

    • Hydra17
    • commented on "Multiplication table for number" kata

    What was the reason for having the last line with no line break?

    • Hydra17
    • commented on "Multiplication table for number" kata

    The expected result shows that the basic tests require the trailing '\n' to pass them. My code does not provide that. When I run my solution, it literally prints the exact result requested in the kata. Try it.

    • Hydra17
    • created an issue for "Multiplication table for number" kata

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

    • Hydra17
    • commented on "Subtract the Sum" kata

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

    • Hydra17
    • commented on "Find the first non-consecutive number" kata

    I learned something here so thank you for your comment.

    What happened was, I was using * arr as when I tried to run the program in python IDE it was throwing an error that I gave the function 8 positional arguments.

    This was because I did not define the array and then use it's name (arr) to pass it to the function. Once I removed * and defined the array, then passed it, it worked.

    The error messages in the tests confused me because the first sample test error message was that None should equal 6. I thought that meant that it was skipping the trigger return statement in my loop that would terminate the function, returning what result was first initialised as. I thought for some reason the return statement in the loop was not working in codewars lol

    So yea, now I understand and thank you once more.

    • Hydra17
    • commented on "Find the first non-consecutive number" kata

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

    • Hydra17
    • created an issue for "Find the first non-consecutive number" kata

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

    • Hydra17
    • commented on "Welcome!" kata

    oh damn, so it is spelling mistakes. let me try that and I will update here lol thank you

    • Hydra17
    • commented on "Welcome!" kata

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

    • Hydra17
    • commented on "Welcome!" kata

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

    • Hydra17
    • commented on "Keep Hydrated!" kata

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

    • Hydra17
    • commented on "Keep Hydrated!" kata

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

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm