Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
What is func(func(arg)) in python functional programming
functions
0 Votos
2 Respuestas
25th May 2020, 11:16 AM
Bavith
def test(func, arg): return func(func(arg)) def mult(x): return x * x print(test(mult, 2))
functions
python
0 Votos
11 Respuestas
9th May 2017, 4:52 AM
AJITH KUMAR
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 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 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 to get better with problem-solving and programming
2 Votes
Odd even threads without condition variable
0 Votes
Ejercicio Pytho
0 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
What's wrong with this code ? ( Beginner)
1 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes