answered 14 years ago
If you're lazy and don't care about ordering in L:
sage: list(set(L))
Again, all of this is pure Python, so you might benefit from reading a tutorial on writing Python code.