From 83caac6cac2124f75d0cf9678454e36c2fadb28d Mon Sep 17 00:00:00 2001 From: Thore Date: Tue, 11 Apr 2023 12:27:48 +0200 Subject: [PATCH] added print-out --- s1_a53_6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]]