Why does scientific notation break the range function?