Get Range Of Array In Python Interview