How to use callback functions in Python | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How to use callback functions in Python

Callbacks usage in python

14th Jun 2020, 3:53 PM
vamsisaikrishna
vamsisaikrishna - avatar
1 Antwort
+ 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