• 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
MusicalCoder Avatar
Name:Musical Coder
Clan:Unknown
Member Since:Aug 2016
Last Seen:Mar 2025
Profiles:
Following:0
Followers:1
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (97)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • massey-n
    • commented on "Basic Mathematical Operations" python solution
    • 3 months ago

    Case 2 makes the assumption that the API is configured properly to only accept expected input. From a cybersecurity perspective, even this is a bad idea. eval() should never be used in code that can be used by anyone aside from the author.

  • Custom User Avatar
    • omnifuneral
    • commented on "I love you, a little , a lot, passionately ... not at all" python solution
    • 4 months ago

    yeah, I always forget you can do it this way. it's smooth.

  • Custom User Avatar
    • bVector
    • commented on "Basic Mathematical Operations" python solution
    • 7 months ago

    you are thinking of exec that does not return anything

  • Custom User Avatar
    • bVector
    • commented on "Basic Mathematical Operations" python solution
    • 7 months ago

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

  • Custom User Avatar
    • ruben-sa-brito
    • commented on "Basic Mathematical Operations" python solution
    • 10 months ago

    because despite having its dangers, the solution is beautiful to see, in the context of codewars, this type of solution comes out ahead... multiple 'ifs' are sometimes not very elegant..

  • Custom User Avatar
    • Mr-Phisher
    • commented on "Basic Mathematical Operations" python solution
    • 10 months ago

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

  • Custom User Avatar
    • wanikhawar
    • commented on "Basic Mathematical Operations" python solution
    • 11 months ago

    convert value1 and value 2 to strings first. Your code doesn't evaluate the values of value1 and value2. Say value1 = 1 and value2 = 3, your code is trying to evaluate value1 + value2 whereas it should be evaluating 1 + 3.

  • Custom User Avatar
    • fuegoulloa
    • commented on "Basic Mathematical Operations" python solution
    • 11 months ago

    clever, I'm borrowing this!

  • Custom User Avatar
    • CjordanIII
    • commented on "Basic Mathematical Operations" python solution
    • 14 months ago

    liveing on the edge

  • Custom User Avatar
    • DoubleCatling
    • commented on "Basic Mathematical Operations" python solution
    • 14 months ago

    thanks for saving my data dude!

  • Custom User Avatar
    • maximusishere
    • commented on "Basic Mathematical Operations" python solution
    • 14 months ago

    yeah easy but unsafe

  • Custom User Avatar
    • VDSurChauffe
    • commented on "Is there a vowel in there?" python solution
    • 15 months ago

    yes

  • Custom User Avatar
    • Runkinmund
    • commented on "Basic Mathematical Operations" python solution
    • 15 months ago

    Yeah, I never knew about this function. I'm going to have to read up on it. I used a bunch of match: case: statements.

  • Custom User Avatar
    • rhythm2107
    • commented on "Basic Mathematical Operations" python solution
    • 16 months ago

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

  • Custom User Avatar
    • dimkpaelvis
    • commented on "Basic Mathematical Operations" python solution
    • 17 months ago

    I see, thanks alot

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...