diff --git a/s1_a53_6.py b/s1_a53_6.py index 118843f..38d8065 100644 --- a/s1_a53_6.py +++ b/s1_a53_6.py @@ -6,7 +6,7 @@ if __name__ == "__main__": # 5.4 def remove_duplicates(word: str): return "".join(sorted(set(word), key=word.index)) - remove_duplicates("Donaudampfschiffahrtsgesellschaftsstewardess") + print(remove_duplicates("Donaudampfschiffahrtsgesellschaftsstewardess")) # 5.5 nums = [[1, 2, 3], [2, 1, 3], [4, 0, 1]]