Code Segment In Python With Example