todos = ["b", "g", "c", "e", "d", "a", "h", "d"]
alguns = ["h", "c", "k", "a", "d", "j", "a"]
nova = []
for letra in alguns:
if letra not in todos and letra not in nova:
nova.append(letra)
alguns = nova
print ("alguns apos limpeza:", nova)
dG9kb3MgPSBbImIiLCAiZyIsICJjIiwgImUiLCAiZCIsICJhIiwgImgiLCAiZCJdCmFsZ3VucyA9IFsiaCIsICJjIiwgImsiLCAiYSIsICJkIiwgImoiLCAiYSJdCgpub3ZhID0gW10KZm9yIGxldHJhIGluIGFsZ3VuczoKICAgIGlmIGxldHJhIG5vdCBpbiB0b2RvcyBhbmQgbGV0cmEgbm90IGluIG5vdmE6CiAgICAgICAgbm92YS5hcHBlbmQobGV0cmEpCmFsZ3VucyA9IG5vdmEKCnByaW50ICgiYWxndW5zIGFwb3MgbGltcGV6YToiLCBub3ZhKQ==