×
×
Correct!
Insert the correct method to change the data type to integer.
arr = np.array([1.1, 2.1, 3.1])
newarr = arr.@(11)
arr = np.array([1.1, 2.1, 3.1])
newarr = arr.astype('i')
arr = np.array([1.1, 2.1, 3.1])
newarr = arr.astype(int)
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 23 exercises.
Are you sure you want to continue?