Functions

moved to Python Functions