Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
def test(func, arg): return func(func(arg)) def mult(x): return x * x print(test(mult, 2))
functions
python
0 голосов
11 ответов
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 голос
6 ответов
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 голос
4 ответов
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 голос
2 ответов
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 голосов
2 ответов
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 голосов
1 ответ
21st Nov 2017, 6:02 PM
ilham
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
Актуальное сегодня
Can you teach me if this is good or not
1 Votes
GCD time complexity
0 Votes
¿Por qué este resultado?
0 Votes
Why isn't it working
3 Votes
How to programing
0 Votes
Dev C++
0 Votes
C++ or Python
0 Votes
Develop a program to calculate the sum of digits in a given number by using while loop
0 Votes
Program
0 Votes
What is ai
0 Votes