Hi there,
Im having an issue starting out a problem.
I am trying to take a list of poisonous snakes, and my python function needs to take this list of snakes and a given plane name with a list of things. It will then return the number of matches between the snakes and the plane lists.
snakes_on_a_pla ne(snakes, plane1) returns 3.
I was thinking to iterate through and use a source like message passing, but not sure how to start message passing on python .
thanks!
Im having an issue starting out a problem.
I am trying to take a list of poisonous snakes, and my python function needs to take this list of snakes and a given plane name with a list of things. It will then return the number of matches between the snakes and the plane lists.
Code:
Snakes = ['Diamondback', 'Rattlesnake', 'Cottonmouth', 'Cobra', 'Black Mamba', 'Viper', 'coral', 'taipan', 'eastern brown'] plane1= ['passenger', 'fbi agent', 'black mamba', 'samuel l jackson', 'eastern brown', 'cobra']
snakes_on_a_pla ne(snakes, plane1) returns 3.
I was thinking to iterate through and use a source like message passing, but not sure how to start message passing on python .
thanks!
Comment