how to define a function in python in different types of arguments code example Example: types of parameters in a function in python def add(a,b=5,c=10): return (a+b+c)