+ 1
Testing with dictionaries
Why would 1 is here only print once and how can I fix it and explain your answer please dictionary = {1:2, 2:1, 1:2} for key in dictionary: if key == 1: print("1 is here")
0 ответов
Why would 1 is here only print once and how can I fix it and explain your answer please dictionary = {1:2, 2:1, 1:2} for key in dictionary: if key == 1: print("1 is here")