DEV Community

loading...

Discussion on: Daily Challenge #273 - Remove Duplicates

Collapse
rafaacioly profile image
Rafael Acioly

Python 🐍

from typing import List

def solve(nums: List[int]): List[int]:
    return list(set(nums))