Xrange Function In Python With Parameters