[solved] – Question 8833
what is wrong with this function
def newSequence(ns, n, d):
nValue = 1
for a in ns:
ns[a] -= n*xValue**d
return ns;
compiler error message
line 3, in newSequence
for i in ns:
TypeError: ‘int’ object is not iterable
Expert Answer
OR

