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
malfutka [58]
3 years ago
11

Output values below an amount

Computers and Technology
1 answer:
valina [46]3 years ago
7 0

Answer:

Explanation:

The following code is written in Python and it is a function called filter, which takes in the requested inputs. It then places the threshold in its own variable and pops it out of the array of inputs. Then it loops through the array comparing each element with the threshold and printing out all of the ones that are less than or equal to the threshold.

def filter():

   num_of_elements = input("Enter a number: ")

   count = 0

   arr_of_nums = []

   while count <= int(num_of_elements):

       arr_of_nums.append(input("Enter a number: "))

       count += 1

   threshold = arr_of_nums[-1]

   arr_of_nums.pop(-1)

   print(threshold)

   for element in arr_of_nums:

       if int(element) < int(threshold):

           print(element)

       else:

           continue

You might be interested in
Which of the following techniques would a Baroque composer most likely employ to evoke an affect of agitation? Select one:
frez [133]

Answer:

b. Rubato tremolo

Explanation:

Tremolo is a modulation effect that imposes a rhythmic change in volume of sound. Once discovered in electric amplifier circuits, sound engineers and composers like the Baroque now use this low frequency oscillating modulation technique to create emotional piercing effect on their audience to maintain focus.

The low frequency tremolo can be gotten from the vibrating string in guitars, violins etc, and vocal sound, it is also produced from electronic devices created for its purpose. they are called optical tremolo.

5 0
3 years ago
Dell is an American corporation that deals with computer technology. With its worldwide sourcing and fully merged production and
UNO [17]

Answer:

Dell is a globally integrated company

Explanation:

A company that designs its strategy, management, and  operations in pursuit of a new goal; which is the integration of production and value delivery worldwide is known to be a globally integrated company.

From the question, Dell was described as an American corporation that deals with computer technology with its worldwide sourcing and fully merged production and marketing system. Thus, Dell is  a globally integrated company.

7 0
3 years ago
Which tool can capture the packets transmitted between systems over a network?
Dvinal [7]

Packet analyzer is a tool that captures every packet transmitted over a network and analyzes the content. Basically this is used to gather network statistics and troubleshoot network issues.

7 0
3 years ago
8. Write the examples of freeware and Shareware softwares ?
lakkis [162]

Explanation:

People use freeware software because it is available free of cost and it can be distributed free of cost, that is why it is called FREEware.

Freeware software:

Adobe PDF

yahoo messenger

Go.ogle Talk

MSN messenger

People use shareware software because it helps them to know about the product more before buying it and this software is available free of cost.

Shareware software:

Adobe acrobat 8 professional

Winzip

Getright

7 0
3 years ago
A speech that a person delivers without preparation is called
Bad White [126]
A. an impromptu speech.
5 0
3 years ago
Other questions:
  • All phones must have a way of making and then terminating a connection to the phone network; however the exact procedure for doi
    6·1 answer
  • William has an internet connection that does not allow him to make calls when connected to the internet. what internet service c
    7·2 answers
  • A workstation’s user prefers KDE over GNOME. Which login manager can this user run to ensure direct login to KDE?
    5·1 answer
  • When Google created its China-based search engine www..cn, they did not foresee eventually abandoning it because of censorship i
    12·1 answer
  • Write a program in Cto define a structure Patient that has the following members
    12·1 answer
  • Plez answer this
    10·1 answer
  • Which device contains or manages shared resources in a network?
    14·2 answers
  • Plsssssssss help me​
    8·1 answer
  • 8. Assuming str(rate) is "7.25," what output would be produced by the following snippet:
    15·1 answer
  • Which instructions are used to change the sequence of instruction execution? group of answer choices data movement operate contr
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!