Jul-01-2022, 12:38 PM
Suppose:
Thanks!
a = {3:['apple', 'pear'], 5:['grape', 'cherry']}How can I do a membership test to see if 'cherry' is in the list that is a value for the key 5?
Thanks!