<u>In China, speaking your mind on the Internet might get you arrested.</u>
Please leave a Thanks!
It helps!
Answer:
The program to this question can be defined as follows:
Program:
n = int(input("Enter the number: ")) #input value from user end
print("Entered value: ",n) #print value
lt = [] #defining an empty list
for i in range(n): # loop to input values
lt.append(int(input())) #add values in the list
minimum_value = min(lt) # finding minimum value
print("Smallest value: ",minimum_value) #print value
print("Normalising data: ") #print message
for x in lt: #defining loop normalising value
print(x-minimum_value) #print normalised values
Output:
Enter the number: 5
Entered value: 5
90
60
30
80
70
Smallest value: 30
Normalising data:
60
30
0
50
40
Explanation:
In the given code a variable "n" is defined, that input value from the user end, in the next step, an empty list is defined, an two for loop is declared, which calculates the given value.
- In the first for loop, the append method is used, that input values in the given list, and at the last use the min function, that prints the smallest value in the list, and stores its value in the "minimum_value".
- In the second for loop, the "minimum_value" variable value is subtracted from the list value and print its values.
The term to describe storage systems that function at high speeds is primary memory.
Answer:
cross
bc im religous and stuff (0_0)
Answer:
True
Explanation:
The statement is true. Packet switching is a method that groups the data and transmit it over the digital network. It is basis for communication in the computer. When the two host decides to communicate the network creates a control function and data is transmitted. Addressing is an added and is not mandatory for the operations of the internet as packet switching.