Write a program that reads a string from keyboard and prints the unique words. Your program should convert input string to lower case.

Source Code

text = input('Enter a string: ').lower()
words = text.split()
        
d = {}
for word in words:
    if not word in d:
        d[word]=0
        print(word, end=" ")
        

Output

Enter a string: I know you know this but you do not know everything
i know you this but do not everything