No. Range(), as explained in this article, is a feature of Python 3. Python 2 has an outdated version of this function that works differently and has a different syntax.