person = {'first_name': 'Jane', 'last_name': 'Doe'} new_dictionary = {} for k, v in person.items(): new_dictionary.k = v
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 4, in <module> AttributeError: 'dict' object has no attribute 'k'