Kurse
Kurse
Code Compiler
Code Compiler
Diskutieren
Teams
Anmelden
Registrieren
Menu
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
Lambda function python: print((lambda x: print(x))(5))
lambda
python
1 Stimme
1 Antwort
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 Stimme
2 Antworten
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 Stimmen
3 Antworten
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 Stimmen
4 Antworten
19th Dec 2016, 9:53 AM
Никита Судаков
nums = [11, 22, 33] a = list(map( x: , ))
filter
map
python
-2 Stimmen
3 Antworten
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 Stimmen
10 Antworten
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 Stimme
3 Antworten
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 Stimmen
4 Antworten
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 Stimmen
2 Antworten
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 Stimmen
1 Antwort
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 Stimme
4 Antworten
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 Stimmen
7 Antworten
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 Stimme
1 Antwort
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 Stimme
2 Antworten
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 Stimme
2 Antworten
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 Stimmen
6 Antworten
18th Jul 2022, 9:40 AM
Syed Anas
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Heute heiß
How to get better with problem-solving and programming
2 Votes
Ejercicio Pytho
0 Votes
What's wrong with this code ? ( Beginner)
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes
Is there any new bug in the projects reply sections?
0 Votes