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