How about returning range(r1, r2)? Would you accept it? Here r2 is actually (r1 + nr of rows).