Fixed the "range Python vs. Sage" bug
o range(x) is all integers strictly less than floor(x)
  whereas the sage coercing system suggests that it should be
  all integers stricly less than x.
  Fix: if you want the last behavior, then call range (x.ceil(()).