Please Identify the Error



Error Message: Oops, try again. It looks like you did not print out every key in my_dict.

    "Name": "Guid",
    "Age": 57,
    "BDFL": False
for key in my_dict:
    print(key, my_dict[key])
    #print(str(key)+" "+str(my_dict[key]))


using parentheses for print will cause the output to be printed as a tuple (immutable list), you should print the output as tuple


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.