Pergunta de entrevista da empresa Barclays

Difference between range and xrange in python