LearnPy Hub
← NumPy problems
Easy

Unique Values

Read integers and print np.unique(a) as a list.

Input

Integers separated by spaces.

Output

A Python list.

Sample 1

Input
3 1 3 2 1
Output
[1, 2, 3]

Sample 2

Input
5 5
Output
[5]
solution.py
Output appears here
Unique Values · Python practice problem · LearnPy Hub