• 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
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • 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
  • Log In
  • Sign Up
azvm Avatar
Name:Mikhail
Clan:Elinext
Skills:c#, .net, asp.net, html, css, js, vue
Member Since:Feb 2017
Last Seen:Apr 2022
Profiles:
Following:115
Followers:112
Allies:111
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (71)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • rm76
    • commented on "Sum The Strings" python solution

    Can you please help me better understand what's going on?
    Given that:

    >>> bool(int(''))
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ValueError: invalid literal for int() with base 10: ''
    

    I would have thought that the or operator wouldn't work because, as I understand it, int('') isn't either True or False... can you enlighten me please?

  • Default User Avatar
    • eHarazi
    • commented on "Number of measurements to spot the counterfeit coin" python solution

    Could anyone provide a little feedback into the thinking that resulted into this solution. Thanks

  • Custom User Avatar
    • okayjerd
    • commented on "Area or Perimeter" python solution

    i must practice to master one liners like this!

  • Custom User Avatar
    • Ronin_019
    • commented on "Refactored Greeting" javascript solution

    best solution

  • Default User Avatar
    • Кенесс
    • commented on "Shifty Closures" javascript solution

    hack

  • Custom User Avatar
    • SudoAjay
    • commented on "Sum The Strings" python solution

    What a amzing trick .

  • Default User Avatar
    • AveragePythonEnjoyer
    • commented on "Sum The Strings" python solution

    I did't know about this triсk with or so I wrote pretty ugly one-liner. Amazing that learning something is possible even in such easy katas.

  • Custom User Avatar
    • Napoleaon
    • commented on "Powers of i" python solution

    So simple and clever

  • Default User Avatar
    • Madjosz
    • commented on "Third Angle of a Triangle" python solution

    We are not in 1960 and this is Python. There is no significant difference in speed on modern CPUs for this trivial task.

  • Custom User Avatar
    • Chrono79
    • commented on "Third Angle of a Triangle" python solution

    Use spoiler flag next time, please.

  • Custom User Avatar
    • gangula-karthik
    • commented on "Third Angle of a Triangle" python solution

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

  • Default User Avatar
    • farhanaditya
    • commented on "Empty that array!" javascript solution

    lool, I didn't know you can do that.

  • Default User Avatar
    • farhanaditya
    • commented on "Count Odd Numbers below n" javascript solution

    Ikr !!

  • Custom User Avatar
    • user6800471
    • commented on "5 without numbers !!" python solution

    my solution is tricky haha

  • Default User Avatar
    • AlexBortnik
    • commented on "Best-Selling Books (SQL for Beginners #5)" sql solution

    SELECT TOP(5) in MSSQL is pretty straightforward, I like this syntax the most among all databases.

  • Loading more items...
  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.

    Get started now by creating a new collection.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection