Get Range Of Array In Python Example