subject

1.populate an array(list) of size n = 50 randomly with only integers 0 and 1 2.repeat step1 nn = 1000 times using either a while loop or a for loop at this point you should have a total of 5 observations this is our experimental result we will compare to the theoretical code should look like mylist = [] while (j < nn): # loop for 1000 times i = 0 while i < n : # loop 50 times populate list of nn 50 randnum = random. randint(a, b) mylist. append(randnum) i = i +1 j = j + 1 3.display the number of 0’s (use the count() function from prior labs) 4.display the number of 1’s (use the count() function from prior labs) now for the theoretical calculations

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
Modern businesses use different technologies to accomplish work tasks
Answers: 2
question
Computers and Technology, 23.06.2019 21:00
Will this setup result in what kathy wants to print?
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
If i uninstall nba 2k 19 from my ps4 will my career be gone forever?
Answers: 2
question
Computers and Technology, 24.06.2019 02:50
Be sure to answer all parts. synthesize the following compound from benzene. a. b. c. d. e. f. reaction [1] conditions: a b c d e f reaction [1] product: draw structure reaction [2] conditions: a b c d e f reaction [2] product: draw structure reaction [3] conditions: a b c d e f reaction [3] product:
Answers: 3
You know the right answer?
1.populate an array(list) of size n = 50 randomly with only integers 0 and 1 2.repeat step1 nn = 100...
Questions
question
Mathematics, 01.09.2020 01:01
Questions on the website: 13722367