2025-03-31 17:17:27 -05:00

12 lines
171 B
Python

a = [1,2,3,4,1]
def find_thing(l: list[int]) -> bool:
for n in l:
if l.count(n) > 1:
return True
return False
assert find_thing(a) == True