Some easy level Leet code questions.
Implement contains_duplicate(nums) to determine whether an integer array contains any repeated value. Return True if a value appears at least twice, otherwise return False. The input is a list of integers, and the output is a Boolean.
Examples include [1, 2, 3, 1] -> True and [1, 2, 3, 4] -> False.
def contains_duplicate(nums):