Sets

Given a list, remove the duplicates from it, noting that a set always has unique elements. Be sure to return a list as the function's output.

remove_duplicates([5, 6, 1, 1, 1, 7, 7, 2, 6, 5]) #[5,6,1,7,2]
import unittest


class RemoveDuplicatesTests(unittest.TestCase):
    
    def remove_duplicates_test(self):
        self.assertEqual(remove_duplicates([1,1,1,1,1,3,4,5,5,5]), [1,3,4,5])

    def remove_duplicates_none(self):
        self.assertEqual(remove_duplicates([1,2,3,4,5]), [1,2,3,4,5])