Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
The following code in python will store 20 random numbers from 1 to 100 in the list x. import numpy as npx = np.random.randint(1,100,20) Write a for loop that iterates through all the numbers in the l
The following code in python will store 20 random numbers from 1 to 100 in the list x.
import numpy as npx = np.random.randint(1,100,20)
Write a for loop that iterates through all the numbers in the list x and prints the numbers that are even. (hint: Note that when you divide an even number by 2, the reminder is always 0)
You may refer to any resource on the internet or any book to solve the problem. You may not however ask help from any other individual.
What to submit: Download your ipynb file with the solution and submit it on canvas.