You are on page 1of 1

Function

date-9.07.18
----------
syntax
def <name of the function()>:
//body of the funtion

call the function

**
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

You might also like