Simple change in Python code


#1

def rotateArray(self, a, b):
ret = []
for i in xrange(len(a)):
ret.append(a[(i + b)%len(a)])
return ret