Question: Each value in an array ( in the above case, the numbers 0 . 1 2 5 , 4 . 7 5 , and -

Each value in an array (in the above case, the numbers 0.125,4.75, and -1.3) is called an element of that array.
Arrays themselves are also values, just like numbers and strings. That means you can assign them to names or use them as arguments to functions. For example, len() returns the number of elements in some_array.
Question 4.1.1. Make an array containing the numbers 0,1,-1,
, and
, in that order. Name it interesting_numbers.
Hint: math.pi is the value of
and math.e is the value of
.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!