| 1 | initial version |
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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.