Fix explanation of range vs. xrange

xrange in Python 2 = range in Python 3.

Thanks to jemshad.ok@gmail.com for bringing this to my notice!
dir(print) is not valid in Python 2

It is valid only in Python 3.

Thanks to jemshad.ok@gmail.com for alerting me about this!