Run »
×
Change Orientation
mydict = {0 : "Apple", 1 : "Orange"} x = any(mydict) print(x) # Returns True because the second key is True. # For dictionaries the any() function checks the keys, not the values.
True
×
Report a Problem:
Your E-mail:
Page address:
Description:
Submit