Link to home
Start Free TrialLog in
Avatar of Maria Qureshi
Maria Qureshi

asked on

grocery_list.append (Onions)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-63-41f0d72a57d4> in <module>()
----> 1 grocery_list.append (Onions)
      2 print (grocery_list2)

AttributeError: 'tuple' object has no attribute 'append'

What does the error message mean? Why won't my list append?
ASKER CERTIFIED SOLUTION
Avatar of gelonida
gelonida
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Maria Qureshi
Maria Qureshi

ASKER

Thank Youuu It does!!!
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: gelonida (https:#a42332742)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

suhasbharadwaj
Experts-Exchange Cleanup Volunteer