How to search for a combination of variables

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By aagoldberg

How would I search for more than one variable in a dictionary. For example, I have variables named “apples” and “oranges”, how would I search for “apples oranges”? I’ve tried to figure this out many different ways, and I feel like there is some obvious answer that I am just overlooking.

:bust_in_silhouette: Reply From: hungrymonkey