Testing with dictionaries | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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")

7th Jan 2022, 11:13 PM
Darkpidgeon 14
0 Réponse