+ 1
def function( ) : ............ ............ ............ the three dotted lines are the code whatever u write.. the function starts with a colon " : " indented block means...shifted block... def function( ) : ............ ............ ............ this func syntax is wrong...as it doesnt include a indented block as {} in c/java/c++ is used to denote blocks.. here in python...indentation or shifted blocks..do that same thing
25th Feb 2018, 8:31 AM
sayan chandra
sayan chandra - avatar