• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

def apply_twice(func,arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five,10)) #output:20
pythonpython3
0 Vote
6 Réponses
13th Oct 2021, 5:55 PM
Khalif Baby👶
Khalif Baby👶 - avatar
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 Réponses
22nd Jul 2018, 3:14 PM
ADITYA SINHA
ADITYA SINHA - avatar
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 Réponses
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 Réponses
18th Jun 2019, 12:55 PM
Ranjeet singh jitty
Ranjeet singh jitty - avatar
def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))
functionspython3
0 Vote
2 Réponses
2nd Aug 2019, 7:24 AM
SUNDARAMAN IYER
SUNDARAMAN IYER - avatar
python
5add_five(x):apply_twice(funcarg):deffunc(func(arg))funcdefreturnx
0 Vote
1 Réponse
21st Nov 2017, 6:02 PM
ilham
ilham - avatar
Aujourd'hui en vedette
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
I am a beginner, please teach me how to use Python
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Cybersecurity techies
2 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes