Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
def test(func, arg): return func(func(arg)) def mult(x): return x * x print(test(mult, 2))
functions
python
0 Votes
11 Answers
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))
functions
1 Vote
6 Answers
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 Vote
4 Answers
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 Vote
2 Answers
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 Votes
2 Answers
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 Votes
1 Answer
21st Nov 2017, 6:02 PM
ilham
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Please recommend me
0 Votes
Hi, please I'm interested in learning Html, css and Javascript. I need a guidance or any app recommendation that will make me
0 Votes
Can i code here? Or just learn?
0 Votes
chat I wanna make a bullet hell game what language(s) do I need to know?
0 Votes
hi i want to learn C# but i don't have a good tut
1 Votes
It's app not running properly?
1 Votes
how to make sans fight on web language
1 Votes
Why Lazy?
1 Votes
Learn tkinter
1 Votes
Patterns in Functional Paradigm
1 Votes