Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
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 Votos
6 Respuestas
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 Respuestas
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 Respuestas
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 Voto
2 Respuestas
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 Votos
2 Respuestas
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 Votos
1 Respuesta
21st Nov 2017, 6:02 PM
ilham
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
En tendencia hoy
How many days will It takes to completely learn front end
4 Votes
SQL
3 Votes
JAVA PROGRAMMING
2 Votes
HTML/CSS questions
0 Votes
Solution to solving this bugged problem
2 Votes
What Does Pseudo Elements Mean.
2 Votes
IMAGE
0 Votes
Html
1 Votes
member initializer list : order of evaluation
0 Votes
How can I continue with my goal if I lost all my lives?
0 Votes