How to check whether '111' exists in dic1?
dic1 = {'images':[000,111,222,333,444],'name':['foo','bar','baz']} I tried using List comprehensions but unable to get the boolean answer? I got the error 'int' object is not iterable.
How to check whether '111' exists in dic1?
dic1 = {'images':[000,111,222,333,444],'name':['foo','bar','baz']} I tried using List comprehensions but unable to get the boolean answer? I got the error 'int' object is not iterable.