• 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
vmred Avatar
Name:Unknown
Clan:None
Member Since:May 2023
Last Seen:Jun 2024
Profiles:
Following:502
Followers:499
Allies:499
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (19)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • BoranEr
    • commented on "Counting Change Combinations" python solution
    • last month

    I spammed submit... IT WORKED :p

  • Custom User Avatar
    • bineapple
    • commented on "Tidy Number (Special Numbers Series #9)" python solution
    • 2 years ago

    The most efficient one here

  • Custom User Avatar
    • Blind4Basics
    • commented on "Python Simple Calculator" kumite
    • 2 years ago

    @JefeThePug: if you post code, better to fork the kumite.

  • Custom User Avatar
    • Alvin_Thorn_1575
    • commented on "Letter frequency" kumite
    • 2 years ago

    What's the point of a rust implementation returning a btreemap?

  • Custom User Avatar
    • JakubKorytko
    • commented on "Python Simple Calculator" kumite
    • 2 years ago

    eval is unsafe, avoid using it

  • Custom User Avatar
    • vmred
    • commented on "A Chain adding function" kata
    • 2 years ago

    really cool kata!

  • Custom User Avatar
    • engelthehyp
    • commented on "Python Simple Calculator" kumite
    • 2 years ago

    Fair enough reasoning, I suppose.

  • Custom User Avatar
    • vmred
    • commented on "Infected Zeroes" kata
    • 2 years ago

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

  • Custom User Avatar
    • JamesClarke7283
    • commented on "Python Simple Calculator" kumite
    • 2 years ago

    If its software running locally, its fine. I would not reccomend this for networked applications.

  • Custom User Avatar
    • vmred
    • commented on "Palindrome for your Dome" kata
    • 2 years ago

    can python translation be pushed / approved?

  • Custom User Avatar
    • engelthehyp
    • commented on "Python Simple Calculator" kumite
    • 2 years ago

    This is a bad idea - what if someone did something like this: Calculator("+ 0;", "0 ", "print('Thanks eval')")? It may be shorter but you have just opened up this simple program to vulnerabilities.

  • Custom User Avatar
    • vmred
    • commented on "Python Simple Calculator" kumite
    • 2 years ago

    yeah, I saw it, eval based solution is kinda first that comes to mind and considers vulnerable, I'd like to show another options

  • Custom User Avatar
    • JamesClarke7283
    • commented on "Python Simple Calculator" kumite
    • 2 years ago

    Glad you like my solution, Ive made an improved version below, that uses eval. So it's less code and makes more operators available.

  • Custom User Avatar
    • vmred
    • commented on "Python Simple Calculator" kumite
    • 2 years ago

    right, reduce can be rid of.

  • Custom User Avatar
    • vmred
    • commented on "Palindrome" kumite
    • 2 years ago

    nice!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...