No Duplicates

This commit is contained in:
2023-06-24 21:15:31 +02:00
parent f462e01bf5
commit 7628af5bd0

3
nodup.py Normal file
View File

@@ -0,0 +1,3 @@
words = input().strip().split()
unique_words = set(words)
print("yes" if len(words) == len(unique_words) else "no")