How To Create Subarray In Python With Example