Why does this print 4 times?



4 print statement + loop which will run 4 times.


The for loop will run 4 times, for there are 4 string pairs in the webster.
The fact is 4 times, it will print out the "A star of a popular children’s cartoon show.
I think what you want to do is this.

for key in webster:
  print webster[key]


Thanks you methodrockstar50321


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