There is an integer in the input. Change its type to np.bool_ and then print the result.
Data types in NumPy
Changing the type of integers
Report a typo
Sample Input 1:
6Sample Output 1:
TrueWrite a program in Python 3
import numpy as np
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.