+ 1

How to use callback functions in Python

Callbacks usage in python

14th Jun 2020, 3:53 PM
vamsisaikrishna
vamsisaikrishna - avatar
1 ответ
+ 5
A simple callback example def add(a): return a+3 def subtract(c,d,callback): a=c-d return callback(a) print(subtract(12,10,add))
14th Jun 2020, 4:05 PM
Abhay
Abhay - avatar