0

Function as an argument ( for 3 numbers plz explain)

26th Jun 2020, 12:36 PM
NEHA JANGRA
NEHA JANGRA - avatar
2 Respuestas
+ 1
Something like this? def sum(a,b): return a+b def subtract(c,d,function): print(function(c,d)) subtract(4,5,sum) also pls mention the language name in tags ,instead of "plz"
26th Jun 2020, 1:03 PM
Abhay
Abhay - avatar
0
Tq
26th Jun 2020, 1:14 PM
NEHA JANGRA
NEHA JANGRA - avatar