Someone please help to python example bellow. I want to know whether it possible fifth, or tenth, or it works only twice ther | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Someone please help to python example bellow. I want to know whether it possible fifth, or tenth, or it works only twice ther

calculate much more

15th Jun 2017, 4:54 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar
6 Answers
+ 2
how do you want it exactly?
15th Jun 2017, 5:07 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 1
it growth ten two times only , can we do make a program to grow it much morebtime
15th Jun 2017, 5:00 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar
+ 1
yes just like x=nice*hot return x+10 add as many params as you like
15th Jun 2017, 5:11 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
0
def apply_twice (nice, hot): return nice(nice(hot) def add_ten(x) return x +10 print (apply_twice(add_ten, 50))
15th Jun 2017, 4:57 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar
- 1
def apply_fifth(nice, hold, girl, boy, hot)
15th Jun 2017, 5:10 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar
- 1
but dont know how rightly return them
15th Jun 2017, 5:10 AM
Nasibillo Muhamedov
Nasibillo Muhamedov - avatar