This repository has been archived on 2024-08-23. You can view files and clone it, but cannot push or open issues or pull requests.

11 lines
146 B
Python

a = [12, 34, 542, 12, 63653, 635, 635]
def foo(i):
print(i)
return i
seen = set()
print(not any(i in seen or seen.add(i) for i in a))