LearnPy Hub
← NumPy problems
Easy

Sort an Array

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

Input

Integers separated by spaces.

Output

A Python list.

Sample 1

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

Sample 2

Input
5
Output
[5]
solution.py
Output appears here
Sort an Array · Python practice problem · LearnPy Hub