• Cursos
  • Compilador de CĂłdigo
  • Discutir
  • Preços
  • Teams
Menu

Q&A DiscussÔes

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 Voto
6 Respostas
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 Voto
6 Respostas
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 Voto
4 Respostas
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 Voto
2 Respostas
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 Voto
2 Respostas
2nd Aug 2019, 7:24 AM
SUNDARAMAN IYER
SUNDARAMAN IYER - avatar
python
5add_five(x):apply_twice(funcarg):deffunc(func(arg))funcdefreturnx
0 Voto
1 Resposta
21st Nov 2017, 6:02 PM
ilham
ilham - avatar
Quente hoje
Can I import any module in python in this app?
1 Votes
Loops and conditions
2 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
Any coding competitions?
1 Votes
AlguĂ©m PortuguĂȘs por aqui?
0 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Rise of AI
1 Votes
Need a personal tutor
0 Votes