how to defin a function python code example Example: how to use def in python def functionName(variable): //function content