Cursos
Cursos
Compilador de CĂłdigo
Compilador de CĂłdigo
Discutir
Teams
Fazer login
Registrar
Menu
Q&A DiscussÔes
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
def apply_twice(func,arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five,10)) #output:20
python
python3
0 Voto
6 Respostas
13th Oct 2021, 5:55 PM
Khalif Babyđ¶
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functions
1 Voto
6 Respostas
22nd Jul 2018, 3:14 PM
ADITYA SINHA
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functions
1 Voto
4 Respostas
25th Jul 2018, 10:03 AM
Tijani Julius Best
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functions
1 Voto
2 Respostas
18th Jun 2019, 12:55 PM
Ranjeet singh jitty
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functions
python3
0 Voto
2 Respostas
2nd Aug 2019, 7:24 AM
SUNDARAMAN IYER
python
5
add_five(x):
apply_twice(func
arg):
def
func(func(arg))
funcdef
return
x
0 Voto
1 Resposta
21st Nov 2017, 6:02 PM
ilham
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Quente hoje
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, Iâm getting into socket programming with C++
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
Iâm new someone can help me
0 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes