We cover three basic ways to add keys to dictionary: myDict['key'] = value myDict.update(newKeys) myDict |= newKeys