Here is my code i've been stuck on, Anyone point out what's wrong here or suggest me an alternative way to achive this.
def remove_duplicates(string):
    s = string.split()
    return string.replace(s[0],"")
def RemoveDupliChar(Word):
        NewWord = " "
        index = 0
        for char in Word:
                if char != NewWord[index]:
                        NewWord += char
                        index += 1
        print(NewWord.strip())