what is the idea of a fuction all about | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is the idea of a fuction all about

def my_jam():

15th Apr 2019, 11:31 PM
clovert
clovert - avatar
1 Answer
+ 16
Functions are usually defined to make the code systematic, nicely ordered and also to reduce the lines of code. You can divided your whole program in chunks of program by using functions, which is called modular programming. This increases the readability of the code. Like, when you have to do a work many times. Then you can define a function, and can use a single line of code, from next time.
19th Apr 2019, 8:04 AM
Letsintegreat
Letsintegreat - avatar