Back to questions

Contains Duplicate Apple Python Interview Question

Contains Duplicate

Apple Python Interview Question

Given an list of integers called , return if any value appears at least twice in the array. Return if every element in the input list is distinct.

For example, if the input list was , then return because the number 1 shows up twice.

However, if the input was then return , because every element of the list is distinct.

Input

Python

Output