Infosys interview question

Difference between range vs xrange