def sum(a=4, b=2): #2 is supplied as default argument """ This function will print sum of two numbers if the arguments are not supplied it will add the default value """ print (a+b) sum(1,2) #calling with arguments sum( ) #calling without arguments