I am trying to make it so say if the two strings are "Danny"
and "DeVito"
And if you do something, like if you search for "Danny"
then it will return "Danny"
and "DeVito"
and vise-versa. I thought about dictionaries, but I'm not sure how to use those.
EDIT: Extra info
I was also wondering if there was a way to search in all of the pairs and see if a string is in it. Hope this makes sense.