Easy
What dtype?
Read numbers (they may have decimals). Make an array with
np.array(list(map(float, ...))) and print its dtype, then the array as a list.Input
Numbers separated by spaces.
Output
Two lines.
Sample 1
Input
1 2.5 3
Output
float64 [1.0, 2.5, 3.0]
Sample 2
Input
7
Output
float64 [7.0]
Output appears here