Lambda functions

Basically one line functions

Пікірлер: 3

  • @ManjiVegeta
    @ManjiVegeta2 ай бұрын

    din't remember how short hand if statements worked so my answer turned out like this: func = lambda a:{True:"hello", False:"bye"}[a>5] that is so jank... python is amazing

  • @ClearAtlas

    @ClearAtlas

    2 ай бұрын

    what a beautiful abomination :D

  • @ronaldronaldo984
    @ronaldronaldo9845 ай бұрын

    writing support comment