diff --git a/1.26/main.py b/1.26/main.py new file mode 100644 index 0000000..2281244 --- /dev/null +++ b/1.26/main.py @@ -0,0 +1,16 @@ +""" +Exercise 1.26 - Remove Duplicates I +""" + + +# Copyright (c) 2021. Pascal Syma. All rights reserved. + +def main(): + """ + Sort input words and remove duplicates. + """ + print(' '.join(sorted(set(input('User input: ').split(' '))))) + + +if __name__ == '__main__': + main()