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
Science,
5 months ago
Science,
5 months ago
Math,
10 months ago
Math,
10 months ago
Business Studies,
1 year ago