Kurse
Kurse
Code Compiler
Code Compiler
Diskutieren
Teams
Anmelden
Registrieren
Menu
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
What is func(func(arg)) in python functional programming
functions
0 Stimmen
2 Antworten
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 Stimmen
11 Antworten
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 Stimmen
6 Antworten
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 Stimme
6 Antworten
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 Stimme
4 Antworten
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 Stimme
2 Antworten
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 Stimmen
2 Antworten
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 Stimmen
1 Antwort
21st Nov 2017, 6:02 PM
ilham
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Eine Frage stellen
Heute heiß
Ejercicio Pytho
0 Votes
What's wrong with this code ? ( Beginner)
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Please rate my code from 1 to 10
2 Votes
Write a program to find the strings are in isogram or not
0 Votes
Square Roots
0 Votes
How to start
0 Votes
Is there any new bug in the projects reply sections?
0 Votes