Subarray Program In Python Examples Using Functions