“Como fazer uma lista usando a função Lambda no Python” Respostas de código

Como fazer uma lista usando a função Lambda no Python

res = list(map(lambda x : x**2, range(1, 101)))
print(res)
Excited Earthworm

Como fazer uma lista usando a função Lambda no Python

res = list(map(lambda x : x**2, range(50)))
print(res)
Excited Earthworm

Respostas semelhantes a “Como fazer uma lista usando a função Lambda no Python”

Perguntas semelhantes a “Como fazer uma lista usando a função Lambda no Python”

Mais respostas relacionadas para “Como fazer uma lista usando a função Lambda no Python” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código