Range Slicing In Python For Loop