擅长:python、mysql、java
<p>我上网后得到的答案是:</p>
<pre><code>def Remove(duplicate):
final_list = []
for num in duplicate:
if num not in final_list:
final_list.append(num)
return final_list
duplicate = ["mohammad", "leyla", "behrad", "behrad", "behrad"]
print(Remove(duplicate))
</code></pre>
<p>你可以简单地复制和粘贴我的代码在你的jupyter笔记本和看到真正的结果。。。你知道吗</p>
<p>享受。。!你知道吗</p>