+ 5

what is user defined function.please explain with examples

function defined by user

18th Nov 2016, 8:36 AM
F.Heeh. 2nd Yr. Hebron University‏‎
F.Heeh. 2nd Yr. Hebron University‏‎ - avatar
2 Antworten
+ 5
it is clear thank you but 3rd line.
9th Dec 2016, 10:00 AM
F.Heeh. 2nd Yr. Hebron University‏‎
F.Heeh. 2nd Yr. Hebron University‏‎ - avatar
+ 2
There are two types of functions: 1.Predefined or inbuilt functions - input(),len(),str(),etc. 2.user defined functions- those functions which we made using keyward 'def' . example: def adding(a,b) return a+b I hope this may be clear now.
1st Dec 2016, 6:44 PM
Dharm Vashisth
Dharm Vashisth - avatar