Select Range In Array Python Initialize Set