How To Format A Procedure In Python