Why is three not in nums? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Why is three not in nums?

can't a value be checked in a dictionary instead of the key 🔑?

4th Aug 2017, 7:27 PM
Nuruddeen Hayatu
Nuruddeen Hayatu - avatar
1 ответ
0
for key, value in dictionary.items(): if value == "tralala": pass
4th Aug 2017, 8:57 PM
clement
clement - avatar