Barclays interview question

Difference between range and xrange in python