# Array operation# Type: list, inplace operation using for. What's good about this# method is that it doesn't require any extra memory allocation.importbenchdeftest(num):foriiniter(range(num//10000)):arr=[0]*1000foriinrange(len(arr)):arr[i]+=1bench.run(test)