Why dictionary.has_key method run well on this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
29th Jan 2024, 4:44 AM
Oliver Pasaribu
2 Answers
+ 1
This question does not make any sense, so you might as well delete it. The attached code runs and not related to the title. Your real question about has_key method has been answered here. https://www.sololearn.com/Discuss/3263059/?ref=app
29th Jan 2024, 5:20 AM
Tibor Santa
Tibor Santa - avatar
0
get is not the same as has_key.
29th Jan 2024, 10:45 AM
Bob_Li
Bob_Li - avatar