What is the main purpose of functions and when to use them? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is the main purpose of functions and when to use them?

28th Dec 2021, 12:45 PM
Shlok Shikhare
Shlok Shikhare - avatar
2 Answers
+ 5
Please avoid writing the question into the tags, they serve different purposes. I downvoted your question. https://code.sololearn.com/W3uiji9X28C1/?ref=app
28th Dec 2021, 1:38 PM
Ipang
+ 4
Functions are blocks of code written to get executed more than once or whenever called, or to break down a complex programs into subunits.
28th Dec 2021, 12:55 PM
マッドキング♣️✨♣️ [MadKing]
マッドキング♣️✨♣️ [MadKing] - avatar