Php User Defined Functions With Parameters Python 3