Generate All Subarrays Of An Array In Python W3schools