• 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
john9631 Avatar
Name:kiwi
Clan:MITx
Skills:python, c, and a smattering of ruby, crystal, rust, lisp ....
Member Since:Jun 2018
Last Seen:Jul 2024
Profiles:
Following:1,502
Followers:1,503
Allies:1,481
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (25)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Devemon
    • commented on "Simple string reversal II" python solution
    • 7 months ago

    Clever, but this code is less readable than if you split it into several functions with explicit names.

  • Custom User Avatar
    • pavloslav
    • commented on "Swap Values" python solution
    • 9 months ago

    Absolutely. args[0:2] = ... changes contents of args; args = ... reassigns local variable.

  • Custom User Avatar
    • Ahmedrt6
    • commented on "Swap Values" python solution
    • 9 months ago

    You mean I am dealing with args as a local variable and reassigned it with a new value instead of changing its actual content right?

  • Custom User Avatar
    • pavloslav
    • commented on "Swap Values" python solution
    • 9 months ago

    Because you don't change args in place, you reassign it with the new value.

  • Custom User Avatar
    • Ahmedrt6
    • commented on "Swap Values" python solution
    • 9 months ago

    why it doesn't work when I just say:

    args = args[::-1]

  • Custom User Avatar
    • Ruben Centeno Roman
    • commented on "Return the day " python solution
    • 2 years ago

    I didn't even know about ".get()", thanks for teaching me it!

  • Custom User Avatar
    • blzzua
    • commented on "Chuck Norris VII - True or False? (Beginner)" python solution
    • 3 years ago

    challenge accepted! (look at my solution)

  • Custom User Avatar
    • Aleks98
    • commented on "Do I get a bonus?" python solution
    • 3 years ago

    Very clever

  • Custom User Avatar
    • AbdallahSiyabi
    • commented on "Even numbers in an array" python solution
    • 4 years ago

    I came up with the same solution in under a minitue. Thank you CodeWars community. This works!

  • Custom User Avatar
    • lxg95
    • commented on "Do I get a bonus?" python solution
    • 4 years ago

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

  • Custom User Avatar
    • andresfelipehiguera
    • commented on "Conway's Game of Life - Unlimited Edition" python solution
    • 4 years ago

    what?!

  • Custom User Avatar
    • First_Kata
    • commented on "Do I get a bonus?" python solution
    • 5 years ago

    Thank you!

  • Custom User Avatar
    • Fbasham
    • commented on "Do I get a bonus?" python solution
    • 5 years ago

    It's dependent on language. Python is mapped to '$'

  • Custom User Avatar
    • First_Kata
    • commented on "Do I get a bonus?" python solution
    • 5 years ago

    Doesn't the question also ask for Pounds and Yen?

    Thank you!

    Josh

  • Custom User Avatar
    • MarkBaker8502
    • commented on "Expressions Matter " python solution
    • 5 years ago

    For some reason the formulas are easier to read without PEP spacing. Not that you are wrong.

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...