How would I change the below code so Python reads the list which is inside the two variables and then perform an action after that without reeving an error? My code:
bad = ['bad','terrible', 'dumb']
good = ['good','happy','awesome']
talk = raw_input("type:")
if (bad) in talk:
print "I'm sorry to hear that :("
elif (good) in talk:
print "That's good!"
Try this: