def pereb(array):
vars = ['array ' + str(x) for x in range(len(array))]
print(vars)
ret = ''
for i in vars:
ret += str(i) + ', '
ret = ret[0:-1]
ret += ')'
for i in range(len(array)):
ret += 'for' + vars[i] + 'in array[' + str(i) + ']'
ret += ')'
print(ret)
return {'array': array}
print(pereb('puzdets and not your teachers code to write'))