O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Python definitions

Ben Parish Python Inglês 2 flashcards

Flashcards do conjunto (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)

Informações

Descrição
Python FlashCards sobre Python definitions, criado por Ben Parish em 28-01-2020.
Criado por
Ben Parish
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?