Hello,
Aisha Khan
31

You are trying to use Python 2 code in Python 3.

In python 3 XRANGE has been replace with RANGE, so, if you use range(), you’ll get the result