class Solution: def removeDuplicates(self , s: str) -> str: temp = [] for i in s:  ...