• 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
Hackito Avatar
Name:Nikita
Clan:Unknown
Skills:javascript, python
Member Since:Jan 2017
Last Seen:Mar 2024
Profiles:
Following:3
Followers:2
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (70)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • MayX20
    • commented on "String repeat" python solution
    • 3 months ago

    oh i see. Thanks for the info. I will read about it.

  • Custom User Avatar
    • Pale-Vessel
    • commented on "String repeat" python solution
    • 3 months ago

    This version and an equivalent full function do the exact same thing; this is just compressing it into one line. There's literally no advantage and it violates PEP-8 but some people seem to think it looks cool.

  • Custom User Avatar
    • MayX20
    • commented on "String repeat" python solution
    • 3 months ago

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

  • Custom User Avatar
    • Bouhdyd
    • commented on "String repeat" python solution
    • 15 months ago

    men i love using lambda ;)

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Rotate matrix counter - clockwise N - times!" kata
    • 2 years ago

    Approved

  • Custom User Avatar
    • saudiGuy
    • created a suggestion for "Rotate matrix counter - clockwise N - times!" kata
    • 2 years ago

    python new test framework is required. updated in this fork

  • Custom User Avatar
    • x369soul
    • commented on "String repeat" python solution
    • 2 years ago

    frrr

  • Custom User Avatar
    • MAGICTNT
    • commented on "Reversed Strings" python solution
    • 2 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
    • 2 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
    • 2 years ago

    It also has no parameters

    I think that's not true.

  • Custom User Avatar
    • montegray
    • commented on "Reversed Strings" python solution
    • 2 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
    • 2 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
    • Kees de Vreugd
    • commented on "Rotate matrix counter - clockwise N - times!" kata
    • 3 years ago

    I really should study that zip-thingy.
    Or Python.

  • Custom User Avatar
    • JohanWiltink
    • resolved a question on "Mean Means" kata
    • 3 years ago
  • Custom User Avatar
    • Anuta Sienko
    • commented on "String repeat" python solution
    • 3 years ago

    wOw, looks pretty

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...