Professional Documents
Culture Documents
A
A
date-9.07.18
----------
syntax
def <name of the function()>:
//body of the funtion
**
filter function: in python takes a function and list as a argument.
Global variables: when you declare any variable outside a function that is known as
global variable.
here we dont need to use the keyword global.
*if you want to modify or to read and write a global variable inside a
function,then we need to use a keyword global.
date-11.07.18