You have the following line: np.power(a1, a2). Please rewrite it using the equivalent way of raising elements in a1 into powers in array a2.
Operations with several arrays
Equivalent operations
Report a typo
Enter a short text
___
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.