stuff = []
stuffs = ["Candy", "Vegetable", "Blah"]
stuff = input("What stuff do you want")
if stuff in stuffs:
stuff.append(stuff)
That stuff above gives me an error -
'str' object has no attribute 'append'
BUT!
This thing below doesn't give me any error!!!!
stuff = []
stuffs = ["Candy", "Vegetable", "Blah"]
item_holder = input("What stuff do you want")
if item_holder in stuffs:
stuff.append(item_holder)