'dict' object has no attribute 'add' code example Example: 'dict' object has no attribute 'append' a = {}; a['key']= ' World' print a