Easy
Smallest and Its Position
Read integers into a NumPy array and print the smallest value and its index (first occurrence) on one line, using
min() and argmin().Input
Integers separated by spaces.
Output
One line.
Sample 1
Input
3 1 2 1
Output
1 1
Sample 2
Input
5
Output
5 0
Output appears here