LearnPy Hub
← Tuples & Sets problems
Easy

All Different?

Read a list of words and print Yes if no word repeats, otherwise No.

Input

One line of words.

Output

Yes or No.

Sample 1

Input
a b c
Output
Yes

Sample 2

Input
a b a
Output
No
solution.py
Output appears here
All Different? · Python practice problem · LearnPy Hub