how would I solve this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how would I solve this?

Drag and drop from the options below to print "Yes", if the key 112 is present in the dictionary named "pairs". if : print("Yes") if in 112 print not pairs

6th Mar 2020, 3:52 PM
Charles Chapman
Charles Chapman - avatar
2 Answers
+ 1
if 112 in pairs: print("yes") else: print("not pairs")
6th Mar 2020, 4:07 PM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 1
if 112 in Paris
14th Sep 2020, 6:47 PM
Anas Emad
Anas Emad - avatar