Infosys interview question

Python xrange() vs range()