Kurse
Anmelden
Beginne KI zu lernen
Kurse
Anmelden
Beginne KI zu lernen
F&A Diskussionen
Suchen
Suchen
Eine Frage stellen
Eine Frage stellen
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
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ß
Best language?
0 Votes
Bro can you fix yt error?
0 Votes
Need suggestions
0 Votes
Need suggestions to learn AI and ML
1 Votes
Java full stack
0 Votes
Best code for creating games?
0 Votes
Duration of heart refilling
0 Votes
Calculator
0 Votes
Why isn't a linked video not working
0 Votes