Check if List contains Item in Python
The challenge
Create a method that accepts a list and an item, and returns true
if the item belongs to the list, otherwise false
.
Test cases
|
|
Create a method that accepts a list and an item, and returns true
if the item belongs to the list, otherwise false
.
|
|