Computers and Technology
Computers and Technology, 28.10.2020 08:10, TPug24

When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This adjustment can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by dividing all values by the largest value. The input begins with an integer indicating the number of floating-point values that follow.

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:

print('{:.2f}'.format(your_value) )

Ex: If the input is:

5

30.0

50.0

10.0

100.0

65.0

the output is:

0.30

0.50

0.10

1.00

0.65

The 5 indicates that there are five floating-point values in the list, namely 30.0, 50.0, 10.0, 100.0, and 65.0. 100.0 is the largest value in the list, so each value is divided by 100.0.
PYTHON ONLY

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:00, detrickboucicaut
The fourth generation of computers emerged between 1970s and 1980s. which technological advancement brought about this generation of computers? which computer architecture was used most in this generation?
Answers: 3
image
Computers and Technology, 23.06.2019 18:30, janny48
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
image
Computers and Technology, 24.06.2019 00:00, BluedragonKBT44
The gene form of a trait is called a(n) 
Answers: 2
image
Computers and Technology, 24.06.2019 08:10, anthonysutton82
Where are american poets found in the dewey decimal system
Answers: 1
Do you know the correct answer?
When analyzing data sets, such as data for human heights or for human weights, a common step is to a...

Questions in other subjects:

Konu
Mathematics, 21.04.2021 16:10
Konu
Mathematics, 21.04.2021 16:10
Konu
Arts, 21.04.2021 16:10
Konu
Mathematics, 21.04.2021 16:10
Konu
Mathematics, 21.04.2021 16:10