1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
weqwewe [10]
4 years ago
7

Write a Python function called simulate_observations. It should take no arguments, and it should return an array of 7 numbers. E

ach of the numbers should be the modified roll from one simulation. Then, call your function once to compute an array of 7 simulated modified rolls. Name that array observations.
Computers and Technology
1 answer:
Bas_tet [7]4 years ago
6 0

Answer:

import random

def simulate_observations():

   #this generates an array of 7 numbers

   #between 0 and 99 and returns the array

   observations = random.sample(range(0, 100), 7)

   return observations

#here,we call the function created above and print it

test_array = simulate_observations()

print(str(test_array))

You might be interested in
How do you change your name because i really would like to change but i am not sure how to could someone help with it please
belka [17]
Goto your profile settings

3 0
3 years ago
If you schedule a message to be delivered at 6 p.m., but you log out of your computer at 5 p.m., what will happen to the message
valentinak56 [21]

Answer: It will be delivered when you log back in.

Explanation:

It will be delivered when you log back in.

8 0
2 years ago
Trudy is preparing a reply to an email message. Before she could send out the message, she is called for a meeting. If Trudy has
Ronch [10]
Her Drafts folder. Hope this helped!
3 0
3 years ago
Read 2 more answers
a student writes a prgroma to find the factorial of a number. the factorial for a number n is defined as the product of all whol
STALIN [3.7K]

Answer:

B. Integers may be constrained in the maximum and minimum values that can be represented in a program because of storage limitations.

Explanation:

Since the program has been written correctly by the student and yet the output of the program is not what was expected, then the next possibility is that because of the limitations in storage, the integers may be constrained in the minimum and maximum values capable of being represented when writing a program.

7 0
3 years ago
Which position is expected to be at the center of the action providing complete technology solutions for a business?
dedylja [7]

IT Manager is expected to be at the center of the action providing complete technology solutions for a business.

Explanation:

An Information Technology Manager (IT Manager) is responsible for implementing and maintaining an organization's technology infrastructure.

IT Manager Roles:

  • Monitors the organization's operational requirements
  • Manages the data center
  • Maintains information technology strategies
  • Manages staff
  • Maintains a safe and secure work environment
  • Initiates, coordinates, and enforces systems, policies, and procedures

Education and Experience Requirements:

  • Bachelor’s or master’s degree in a computer science
  • Five or more years of IT work experience
  • Optional product or system certification
4 0
4 years ago
Other questions:
  • After a break, always review your work to
    12·2 answers
  • Interpretation is adding meaning to information by making connections and comparisons and by exploring causes and consequences.
    11·1 answer
  • Apollo Couriers, a company providing international express mail services, has a proactive customer communications team. The prim
    8·1 answer
  • A(n) _________ is a formal access control methodology used to assign a level of confidentiality to an information asset and thus
    6·1 answer
  • Differences of a desktop computer and a laptop
    13·1 answer
  • A celebrity blogger you have followed for years advises readers to try a new beauty product. Before purchasing the product, a sa
    10·1 answer
  • State three advantage and disadvantages of Laser printer ​
    7·1 answer
  • A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, d
    12·1 answer
  • What are the common internal components to most electronic devices?
    10·1 answer
  • Does anyone know what's wrong with this code in Unity? HELP FAST PLEASE! This is for my game design course, I will give brainies
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!