Remove all duplicates from one list of integers. A list is simply a sequence of connected values that allows the same values to be stored at different positions in this sequence.
If an item was found to be the same value as another item in this list, keep the first occurence of the item and remove the second (third and so on...) occurence of the item.
You may write a function or full program that takes a list of integers as an input and returns a list without duplicates as an output.
- This is a code-golf challenge, so shortest answer wins!