$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #119

Fill in the blank

# returns the list with duplicates removed (order not important)
def unique(items):
    return list(____(items))
# unique([1,1,2]) -> [1,2]

Answer: set (also accepted: set, set())

Converting to a set removes duplicate values.
Play Problem Solving ▸