Parameterized Functions Python Code Generator