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
Gwar [14]
3 years ago
7

Adjust list by normalizing When analyzing data sets, such as data for human heights or for human weights, a common step is to ad

just the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by subtracting the smallest value from all the values. The input begins with an integer indicating the number of integers that follow. Assume that the list will always contain fewer than 20 integers. Ex: If the input is: 5 30 50 10 70 65 the output is: 20 40 0 60 55 The 5 indicates that there are five values in the list, namely 30, 50, 10, 70, and 65. 10 is the smallest value in the list, so is subtracted from each value in the list. For coding simplicity, follow every output value by a space, including the last one.

Computers and Technology
1 answer:
finlep [7]3 years ago
4 0

Answer:

I've implemented this program using python

userinput = int(input("Length: "))

mylist = []

mylist.append(userinput)

for i in range(1,userinput+1):

   userinp = int(input("Input: "))

   mylist.append(userinp)

smallval = mylist[1]

for i in range(1,len(mylist)):

   if smallval > mylist[i]:

       smallval = mylist[i]

for i in range(1,len(mylist)):

   mylist[i] = mylist[i] - smallval

for i in range(1,len(mylist)):

   print(mylist[i],end=' ')

Explanation:

I've added the full source program as an attachment where I used comments to explain difficult lines

You might be interested in
A computer connected to the Internet that asks for data is a(n) ________. Select one: A. server B. client C. aggregator D. surro
madreJ [45]

Answer:

client

Explanation:

The client makes a request for a service, and a server performs that service.

7 0
4 years ago
Given a PrintWriter reference variable named output that references a PrintWriter object, write a statement that writes the stri
Nadya [2.5K]

Answer:

A PrintWriter reference variable named output that references a PrintWriter object is as follows:

//PrintWriter output = new PrintWriter(outfile);

PrintWriter output = new PrintWriter("output.txt");

The statement that writes the string "Hello World" to the file output is as follows:

//output.print(message)

output.print("Hello World");

Explanation:

4 0
4 years ago
Tell me about the information technology at the home depot. why has it revolutionized it?
omeli [17]
The information technology at the Home Depot allows for example, all the stock in the store to be listed on the computer with all its specifications and whether or not it is in stock and how many left in stock and where . Also, when something is ordered from Home Depot like a machined door then all the specs of the order will be digital and also the status of it and when it will/should be available and the cost. 
4 0
3 years ago
Which part of the Office interface is located across the top of the application window and organizes common features and command
aleksklad [387]

Answer:

The correct answer to the following question will be "Ribbon".

Explanation:

  • In the configuration of the computer interface, the ribbon is indeed a graphical controlling feature in the format of a series of toolbars mounted on several tabs. The standard ribbon layout requires large toolbars, loaded with graphical keys, tabbed as well as other visual control features, organized by feature.
  • The aim of the ribbon should be to provide quick and easy access to widely used activities for each system. The ribbon is therefore tailored for each task and includes program-specific commands. Besides, the top of a ribbon contains multiple tabs that can be used to disclose various groups of commandments.

Therefore, Ribbon it the suitable answer.

6 0
3 years ago
Please help me to solve this fast please <br>​
gtnhenbr [62]
I think the student success many people are into the technology today’s and it’s not really a lot of people are not
7 0
3 years ago
Other questions:
  • When you create a linked object using the object dialog box, you must click the?
    15·1 answer
  • A user on a home network needs to boost the signal of the wireless router. What should the user purchase to accomplish this?
    14·1 answer
  • There are six different sequences for the three approval tasks: check inventory; check credit; check special terms.
    5·1 answer
  • 1i) Standardize 'weight' column Write a function named standardize_weight that takes in as input a string and returns an integer
    14·1 answer
  • Which sentence(s) below are true?a. IP stands for Internet Protocol.b. In most home networks IP addresses are assigned by the In
    6·1 answer
  • Given four files named asiasales2009.txt, europesales2009.txt, africasales2009.txt, latinamericasales2009.txt, define four ofstr
    12·1 answer
  • Help me asap please
    15·1 answer
  • Example of vector image format​
    12·1 answer
  • 1. Give one reason why data is represented in binary in a computer [1]
    10·1 answer
  • You are investigating a problem between two wireless bridges and you find that signal strength is lower than expected. Which of
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!