Python-programming-exercises icon indicating copy to clipboard operation
Python-programming-exercises copied to clipboard

Easier solution for Question 10

Open ItsThareesh opened this issue 4 years ago • 0 comments

Hey, I first wanna thank you for creating a wonderful exercise repository. I am very grateful to you. I actually have an easier method to solve Question 10. The code is as follows:

prompt = input("").split(" ")
print(" ".join(sorted(set(prompt))))

ItsThareesh avatar Apr 29 '21 19:04 ItsThareesh