Code Segment In Python How To Put