...

/

Exercise: Using Conditions on Arrays

Exercise: Using Conditions on Arrays

In this exercise, you will be using multiple conditions on arrays.

We'll cover the following...

Task

In this exercise, you will be using conditions on NumPy arrays.

Problem statement

  1. Create an array for variable x consisting of 2020 values from 00 to 2π2\pi.
  2. Compute sin(x
...