• 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
montegray Avatar
Name:Yaroslav
Clan:Montegray Inc.
Skills:javascript
Member Since:Jun 2020
Last Seen:Jul 2025
Profiles:
Following:0
Followers:2
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (16)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • montegray
    • commented on "Who will win the dice roll" kata
    • 2 years ago

    I approved your kumite and corrected the task description. Thank you for participating in the creation of the kata.

  • Custom User Avatar
    • SagePtr
    • commented on "Who will win the dice roll" kata
    • 2 years ago

    Added a kumite with this improvement

  • Custom User Avatar
    • montegray
    • commented on "Who will win the dice roll" kata
    • 2 years ago

    I thought about it, but the story of this problem is about two friends with these names. This makes it optional to refer to a name through an object or by simply writing it. Thank you for your suggestion.

  • Custom User Avatar
    • SagePtr
    • created a suggestion for "Who will win the dice roll" kata
    • 2 years ago

    Suggestion: random player names in random tests instead of fixed ones.

    Kumite with the improvement

  • Custom User Avatar
    • MAGICTNT
    • commented on "Reversed Strings" python solution
    • 3 years ago

    thanks everyone! now i understand a little bit more :-) i practice a little bit now 😉

    every explication its very good, really thanks

  • Custom User Avatar
    • ASasha
    • commented on "Reversed Strings" python solution
    • 3 years ago

    Basically lambda is just a plpaceholder for a variable which can also take more values/parameters. With those you can give them also functionalities. It is very similar to a basic function. But for flexing-reasons you will see many people using it here since you can finish most codes in just one line. But also you may need lambdas within functions for some tasks.

  • Custom User Avatar
    • Chrono79
    • commented on "Reversed Strings" python solution
    • 3 years ago

    It also has no parameters

    I think that's not true.

  • Custom User Avatar
    • montegray
    • commented on "Reversed Strings" python solution
    • 3 years ago

    A lambda function in Python is a special kind of function that does not have a name. It is an anonymous function, which means you don't give it a name when you define it. It also has no parameters, and it always returns a single value.
    The main difference between a classic function and a lambda function is that a classic function is named, while a lambda function is anonymous. This means that when you use a classic function, you can refer to it by name, and it is easier to read and understand. On the other hand, a lambda function is more concise and can sometimes be easier to write.

  • Custom User Avatar
    • MAGICTNT
    • commented on "Reversed Strings" python solution
    • 3 years ago

    i'm begining in python, i didn't undestand this ,
    what is the difference between clasic fonction and lambda ?

    i have looked documentation but i'm in a mist

  • Custom User Avatar
    • zhengxiaocai
    • commented on "Price of Mangoes" python solution
    • 3 years ago

    "1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1+1-1" equals 0

  • Custom User Avatar
    • AlcalinoDev
    • commented on "Price of Mangoes" python solution
    • 3 years ago

    What-

  • Custom User Avatar
    • montegray
    • commented on "Price of Mangoes" python solution
    • 3 years ago

    exactly)

  • Custom User Avatar
    • sergeicher.pro
    • commented on "Price of Mangoes" python solution
    • 3 years ago

    Last part is just "dust in eyes".... And first one is lambda expression...

  • Custom User Avatar
    • montegray
    • commented on "meow : Animal sounds" kata
    • 4 years ago

    OH MY GOD!VERY WONDERFUL KATA!!!LES GO!GOT PLEASURE OF THE SOLUTION :)

  • Custom User Avatar
    • montegray
    • commented on "Price of Mangoes" python solution
    • 4 years ago

    very simple ;)

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...