apple = ["a","p","p"]
zebra = ["a","p","p","l","e"]
apple & zebra
# returns => ["a", "p"]
I want a function that returns ["a","p","p"]
is there any method that can do this?
apple = ["a","p","p"]
zebra = ["a","p","p","l","e"]
apple & zebra
# returns => ["a", "p"]
I want a function that returns ["a","p","p"]
is there any method that can do this?