GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Python definitions

Ben Parish Python Englisch 2 Karten

Karten in diesem Stapel (2)

  1. 1What is a list comprehension?List comprehensions are a tool for transforming one list (any iterable actually) into another list. During this transformation, elements can be conditionally included in the new list and each element can be transformed as needed.
    If you’re familiar with functional programming, you can think of list comprehensions as syntactic sugar for a 'filter' followed by a 'map'.
  2. 2What is a tuple?A tuple is a collection which is ordered and unchangeable. In Python tuples are written with round brackets.
    Example
    Create a Tuple:
    thistuple = ("apple", "banana", "cherry")
    print(thistuple)

Informationen

Beschreibung
Python Karteikarten am Python definitions, erstellt von Ben Parish am 28/01/2020.
Erstellt von
Ben Parish
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck