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