• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu

Обсуждения

def apply_twice(func,arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five,10)) #output:20
pythonpython3
0 голосов
6 ответов
13th Oct 2021, 5:55 PM
Khalif Baby👶
Khalif Baby👶 - avatar
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functions
1 голос
6 ответов
22nd Jul 2018, 3:14 PM
ADITYA SINHA
ADITYA SINHA - avatar
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functions
1 голос
4 ответов
25th Jul 2018, 10:03 AM
Tijani Julius
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functions
1 голос
2 ответов
18th Jun 2019, 12:55 PM
Ranjeet singh jitty
Ranjeet singh jitty - avatar
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functionspython3
0 голосов
2 ответов
2nd Aug 2019, 7:24 AM
SUNDARAMAN IYER
SUNDARAMAN IYER - avatar
python
5add_five(x):apply_twice(funcarg):deffunc(func(arg))funcdefreturnx
0 голосов
1 ответ
21st Nov 2017, 6:02 PM
ilham
ilham - avatar
Актуальное сегодня
My codebits section is full of deleted codes
13 Votes
Ai generated practices
2 Votes
Solving coding challenges
0 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Advertising in Sololearn
0 Votes
Hi who can hel me please
0 Votes
Changing String Variables into int in C++
0 Votes
I am new
0 Votes