x = 10 xrange function python? code example Example: python xrange Python 2.x: xrange() Python 3.x: range()