How To Write Procedure In Python