Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

Positional Argument:-

                इस type के argument function को current positional order में provide किया जाता है यदि function के argument में position of argument यदि change किया जाता है तो result भी change हो जाता है

def add(a,b):

    c=a+b

    d=a-b

    print(c)

    print(d)

add(20,10)

 

Positional Argument:-

            This type of argument function is provided in current positional order. If the position of argument in the function argument is changed then the result also changes.

def add(a,b):

    c=a+b

    d=a-b

    print(c)

    print(d)

add(20,10)

 

error: Content is protected !!