Hi can anyone help me?
I was trying to append a number into the list on jupyter notebook but it didn’t work and I’m stuck. (I did restart the jupyter note book but it dorps the same error.)
So my code was:
a = {44, 9, -10}
print(a)
{9, 44, -10}
a.append(1)
AttributeError Traceback (most recent call last)
in ()
----> 1 a.append(1)
AttributeError: ‘set’ object has no attribute ‘append’