what is the use of def function
Answers
Answered by
1
☆☆
A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your application and a high degree of code reusing. As you already know, Python gives you many built-in functions like print(), etc. but you can also create your own functions.
Similar questions
Physics,
4 months ago
English,
4 months ago
Math,
4 months ago
Math,
9 months ago
Business Studies,
1 year ago