¡Nuevo curso!
¡Todo programador debería aprender
IA Generativa!
Prueba una lección gratuita
Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Hazte Pro
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Lambda function python: print((lambda x: print(x))(5))
lambda
python
1 Voto
1 Respuesta
27th Jul 2023, 3:07 PM
Rajat Kumar
txt = input() x=txt.split() y=' ' for i in x: if len(i)>len(y): y=i print(y)
hlp
me
to
understand
-1 Voto
2 Respuestas
3rd May 2022, 7:47 PM
Kencharla keerthi
Nums = [1,2,8,3,0,7] res=list (filter(lambda x: x_5 nums)) print (res)
filter
map
python
0 Votos
3 Respuestas
9th Dec 2018, 10:09 PM
Max
What is it print((lambda x: x**2 + 5*x + 4) (-4))
is
it
lambdas
python
rus
what
рус
что
это
2 Votos
4 Respuestas
19th Dec 2016, 9:53 AM
Никита Судаков
nums = [11, 22, 33] a = list(map( x: , ))
filter
map
python
-2 Votos
3 Respuestas
9th Apr 2019, 3:32 PM
Akshay Chandran
When I click the top left. The output is not x: 0, y: 0.
coordinate
event
javascript
web
0 Votos
10 Respuestas
6th Mar 2017, 9:45 AM
K.C. Leung
def g(x): (q,d) = (1,0) while q <= x: (q,d) = (q*10,d+1) return(d)
python
1 Voto
3 Respuestas
14th Aug 2018, 5:46 AM
kamalesh vra
What is the output of this code? n=[2,8,2,6] k=list (map(lambda x: x//2,n)) print (k)
lambdas
map
3 Votos
4 Respuestas
27th Nov 2017, 1:36 PM
Janani Waduge
Does anyone know what is the exact idea of the line nestedlist.sort(key= lambda x: x[1]) ?
lists
nested
0 Votos
2 Respuestas
6th Dec 2019, 5:15 PM
Esteban Rueda
For i in x: no permite manejar los indices. Con en otros lenguajes por que?
arraylist
python3
0 Votos
1 Respuesta
10th Aug 2022, 5:13 PM
Juan Ulise Perez Heredia
i= int(input('Give me number!')) x = i + 10 nums=[ ] while i <= x: nums.append(i) i += 1 print(nums) Pls.e
python3
1 Voto
4 Respuestas
24th Oct 2020, 2:04 AM
Sushil Mundhra
Fill in the blanks to calculate the expression x*(x+1) using an anonymous function and call it for the number 6. a = ( x:
python
-8 Votos
7 Respuestas
12th Jul 2018, 10:38 AM
Patrick Mita
#named function def polynomial(x): return x**2 + 5*x + 4 print(polynomial(-4)) #lambda print((lambda x: x**2 + 5*x + 4) (-4
lambdas
python
1 Voto
1 Respuesta
9th May 2017, 4:54 AM
AJITH KUMAR
what does h(3231) return for the following function definition? def h(x): (m,a) = (1,0) while m <= x: (m,a) = (m*2,a+1) return(a
python
-1 Voto
2 Respuestas
13th Aug 2019, 6:06 PM
Su bagar Miwn
nums = (11, 22, 33) nums = tuple(map(lambda x: x+5, nums)) print(nums) this shud give error bcoz tuple is imutable but no error
filter
map
python
1 Voto
2 Respuestas
25th Feb 2017, 9:16 AM
adarsh
Given a list of numbers, output their sum using for loop.
[42,
0,
1,
124,
3,
555,
67,
7,
8,
8897,
99]sum=0for
i
in
s
x:
x=
0 Votos
6 Respuestas
18th Jul 2022, 9:40 AM
Syed Anas
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
En tendencia hoy
Projects in Intermediate JavaScript
0 Votes
Web browser not accepting my code
0 Votes
What is the certificate at the end?
2 Votes
Hello world
2 Votes
Manual Ai(human)or the new Gen Ai, what benefits will it bring
2 Votes
Can any one suggest me how to use app
0 Votes
Hello programming lovers 👋🏻
1 Votes
How return works and what is it used for?
1 Votes
Random number
1 Votes
Please help I don’t know next step CODERS PLEASE HELP
1 Votes