Question: import numpy as np # INSTRUCTION: Replace this string by your first name. name = Christian # INSTRUCTION: You don't need to change anything else

import numpy as np
# INSTRUCTION: Replace this string by your first name.
name = "Christian"
# INSTRUCTION: You don't need to change anything else in that cell.
# This line guarantees the code will always generate the same set of random numbers
# This set of numbers is dependent on your name.
np.random.seed(np.sum(np.array(list(name)).view("int32")))
# Getting an array of random integers
random_integers = np.random.randint(1,high=500000, size=(20,5))
random_integers. array([[402840,370038,241926,289014,334027],[379553,53436,119283,444694,57546],[198688,117102,311826,234763,297843],[389253,209144,297370,63665,52427],[47324,317678,160774,420922,175257],[98010,334340,154443,4478,405134],[460265,66884,425855,146652,366165],[281404,76708,30619,276198,71023],[180096,307626,178753,259365,455757],[130086,307247,165317,358607,497980],[171211,200341,2470,245092,462505],[305273,196974,162095,323323,464866],[231527,156540,222548,128962,55931],[63231,354108,453001,177565,60493],[305253,432032,128661,171820,313423],[471556,331484,410901,459727,234512],[336785,40258,188961,211628,224278],[270337,393503,98894,284233,328908],[295816,412558,350465,40698,366885],[61163,61436,386066,169671,49946]])
addCode
addText. # 1. INSTRUCTION: Write the code to get the array of numbers from the second column and row to the fourth

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 Programming Questions!