secound commit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
|
||||
#student_practic
|
||||
def remove_duplicate_chars(s: str) -> str:
|
||||
have_char = []
|
||||
answer_str=''
|
||||
@@ -9,5 +9,5 @@ def remove_duplicate_chars(s: str) -> str:
|
||||
have_char.append(i)
|
||||
answer_str += i
|
||||
return answer_str
|
||||
|
||||
#test function
|
||||
print (remove_duplicate_chars("abacabad") )
|
||||
|
||||
Reference in New Issue
Block a user