Testing with dictionaries | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta