Problem

Description

You will be given an array a and a value x. All you need to do is check whether the provided array contains the value.
Array can contain numbers or strings. X can be either.
Return true if the array contains the value, false if not.

Test Cases

  • This question is so easy that it does not even require test cases.

Solution

def check(seq, elem):
    return (elem in seq)

Learning Experiences

[N/A]