Barclays Interview Question

Difference between range and xrange in python