Walrus

Links to this page
  • listcomp

    listcomp create a new list, so it is necessary to allocate a whole list to manipulate a listcomp. There is a special case known as Walrus operator.

  • Lambda Function
    Can be used the Walrus operator to assign instead of the =, however, it is not recommended
#programming #language #python #special