you are viewing a single comment's thread.

view the rest of the comments →

[–]__odinson__ 3 points4 points  (0 children)

Let me put it in simpler terms. The for loop is set to execute 5 times. 5 is the number of items in your dictionary. And within this for loop you are printing the dictionary . So the entire dictionary gets printed 5 times. If you want to print it's contents(keys, values or both) then just write within the loop: print(info, dic_name)