0

What's the use of def function?

8th Jun 2021, 10:15 AM
Swethasenthil
2 Réponses
+ 8
def are used to declare function in python. functions mainly helps to increase the reusability of code
8th Jun 2021, 10:17 AM
Ayush Kumar
Ayush Kumar - avatar
+ 6
Well, def is KEYWORD, which is used to create a function. Function is most important and amazing topic, you can resuse you code using function. KEYWORD - keywords in python are those words, which are accepted by python in easy words
8th Jun 2021, 12:03 PM
Abhiyantā
Abhiyantā - avatar