Новый курс!
Каждый программист должен знать
генеративный ИИ!
Попробуйте бесплатный урок
Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Sololearn PRO
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Lambda function python: print((lambda x: print(x))(5))
lambda
python
1 голос
1 ответ
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 голос
2 ответов
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 голосов
3 ответов
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 голосов
4 ответов
19th Dec 2016, 9:53 AM
Никита Судаков
nums = [11, 22, 33] a = list(map( x: , ))
filter
map
python
-2 голосов
3 ответов
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 голосов
10 ответов
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 голос
3 ответов
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 голосов
4 ответов
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 голосов
2 ответов
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 голосов
1 ответ
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 голос
4 ответов
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 голосов
7 ответов
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 голос
1 ответ
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 голос
2 ответов
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 голос
2 ответов
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 голосов
6 ответов
18th Jul 2022, 9:40 AM
Syed Anas
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
Актуальное сегодня
Help me take the perfect courses to be a web developer.
1 Votes
Best IDE for c++
0 Votes
Cyber security
0 Votes
SoloLearn Refuses to give me a refund
2 Votes
Web development vs mobile app development?
0 Votes
Behavior with input function while nested in if
0 Votes
Sololearn bug on go environment
0 Votes
I am new on sololearn application after we completed course and get certificate so sololearn provide jobs yes or no pls tell me
0 Votes
Help with Input Output
2 Votes
Why do Programming Languages get progessively harder to understand the lower you go?
1 Votes