Question: W Ruin Tutorial #3: While Loops and Lists Import the numpy module as opand then use the sort function within to evaluate 3. in 11
W Ruin Tutorial #3: While Loops and Lists Import the "numpy module as "opand then use the sort" function within to evaluate 3. in 11 Create an empty list called "mylist In 1511 Create a while loop that appends integers from 1 to 10 including 1 and 10) to the list. Print your list after running the loop to verify that it worked properly In 1 Create another while loop that prints the squares of integers from 1 to 10 including 1 and 10. In 11 Use the "in" keyword to determine whether the number 17 is in myList" Use a negative index to find the second-to-last value in myList" --- self-statement 3d! self-statement 121.pdf MacBOAT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
