Question: python code plz must use numpy Task 3 1. Create an array with values from 0 to 100 . Stores in a variable named array_id.
Task 3 1. Create an array with values from 0 to 100 . Stores in a variable named array_id. 2. Output the sum of the array. 3. Output a boolean array to represent the entries in the array with values greater than 80 . Stores the result as a variable mask. 4. Apply mask created in prevous step. Output the array with only the values less than or equal to 80 . 5. Output the sum with only the values in the array less than 20. 6. Output the cummulative sum of the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
