+ 1

what is the idea of a fuction all about

def my_jam():

15th Apr 2019, 11:31 PM
clovert
clovert - avatar
2 Respostas
+ 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