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
timurjin [86]
3 years ago
7

Write a program that asks the user to enter a list of numbers. The program should take the list of numbers and add only those nu

mbers between 0 and 100 to a new list. It should then print the contents of the new list. Running the program should look something like this:
Please enter a list of numbers: 10.5 -8 105 76 83.2 206

The numbers between 0 and 100 are: 10.5 76.0 83.2
Engineering
1 answer:
pshichka [43]3 years ago
4 0

In python 3.8

nums = input("Please enter a list of numbers: ").split()

new_nums = [x for x in nums if 0 < float(x) < 100]

print("The numbers between 0 and 100 are: " + " ".join(new_nums))

When you said numbers between 0 and 100, I didn't know if that was inclusive or exclusive so I made it exclusive. I hope this helps!

You might be interested in
Which of these is shown in the photo below?
Arte-miy333 [17]

Answer:

Option C

Explanation:

The image given in the question represents an overflow tank

Since a water pump has rotor and blades (which is not visible in the given image), hence, this image is not of water pump.

The surge tank has a different structure as compared to that of overflow tank

Radiator looks like a metallic structure with parallel blades.

Hence, option C is correct

4 0
2 years ago
The USAF is thinking of purchasing a improved automatic controller (no human required) at a cost of $100,000 that can make 4,000
blsea [12.9K]

Answer:

It would take 3225.8 hours of target detection to pay off the new controller

Explanation:

First, to find out how many hours it would take, we calculate what is the cost per contact for both options:

\mbox{cost per contact}=\frac{\mbox{cost per hour}}{\mbox{contacts per hour}} \\\\\mbox{cost per contact}_{specialist} =\frac{8 \frac{\$}{h} }{1000\frac{contacts}{hour} } =8*10^{-3} \frac{\$}{contact}\\\\\mbox{cost per contact}_{controller} =\frac{1 \frac{\$}{h} }{4000\frac{contacts}{hour} } =2.5*10^{-4} \frac{\$}{contact}

Knowing the cost per contact, we calculate savings per contact when using the controller:

Savings=\mbox{cost per contact}_{specialist}-\mbox{cost per contact}_{controller}\\Savings=8*10^{-3} \frac{\$}{contact}-2.5*10^{-4} \frac{\$}{contact}=7.75*10^{-3} \frac{\$}{contact}

Now that we know how much the automatic controller saves, we calculate how many contacts it would take to pay it off, and then, taking into account contacts per hour, how many hours:

Hours=\frac{\mbox{cost of the controller}}{\mbox{savings per contact}}*\frac{\mbox{1}}{\mbox{contacts per hour}}  \\\\Hours=\frac{\$100000}{7.75*10^{-3} \frac{\$}{contact}} *\frac{\mbox{1}}{4000\frac{contacts}{hour} }}=3225,8 \mbox{ hours}

That means, without taking into account veteran benefits (that raise the cost of the USAF specialist), it would take around 134 days of target detection to pay off the new controller.

8 0
3 years ago
In a balanced three-phase wye–delta system, the source has an abc phase sequence and Van = 120∠40° V rms. The line and load impe
Step2247 [10]

Answer:

6.51∠-26.9° Amp - rms

Steps:

  1. This three-phase circuit will be equivalent to three single phase circuits in Y connection and we'll calculate current for ONE phase by dividing the load impedance by 3.
  2. By applying Ohm's law to the circuit, current will be calculated.
  3. Then the equivalent Delta current will be calculated by dividing it to sqrt(3)  and subtracting 30°

Explanations:

Source = 120∠40 V

Z-line=0.5+j0.4Ω

Z-load=24+j18Ω

<u>Converting Delta to Star</u>

Z-load-1Ф=Z-load-3Ф/3

=\frac{24+j18}{3}\\=8+j3

<u>Calculating Star Current by Ohm's Law:</u>

\frac{V}{Z-line+Z-load-1}\\ =\frac{120∠40}{(8+j6)+(0.5+j0.4)}

=11.27 A-rms

<u>Converting Star current to Delta Current</u>

I-delta=\frac{I-star}{\sqrt{3} } \leq -30

I-delta = 6.51∠-26.9°

8 0
3 years ago
A sample of normally consolidated clay was subjected to a CU triaxial compression test that was carried out until the specimen f
QveST [7]

Answer:

Check the explanation

Explanation:

Given

1) CU traixial compression test

2) Devatoric stress at failure  = бd = 50 kN/m^2

3) Confining pressure at failure  = бd = 48 kN/m^2

4) Pore pressure at failure  = u = 18 kN/m^2

5) Unconfined compression stress  = q = 20 kN/m^2

6) Undrained cohesion  = q/2 = 20 kN/m^2

To find:

1) Effective and total stress strength failure envelope

Kindly check the attached image below .

7 0
3 years ago
Which benefits of a connected world makes all applications, equipment (such as a high-volume printer), and data available to any
Wittaler [7]

Answer: sharing resources

Explanation:

The benefits of a connected world that makes all applications, equipment (such as a high-volume printer), and data available to anyone on the network, without regard to the physical location of the resource or the user is made possible by a shared resource.

A shared resource which is also called network share is a resource in computing where applications, equipments and data are shared from one computer network to another within sale network.

7 0
3 years ago
Other questions:
  • A 2"" Sch 40 stainless steel (k = 14.9 W/m-K) pipe is to be used as the interior pipe of a double pipe heat exchanger. The expec
    6·1 answer
  • As a talented grad of CMPEN 270, your new job as a digital designer is to design a "greedy" vending machine that accepts only ni
    6·1 answer
  • The Greek alphabet has 24 distinct lowercase letters. How many bits are needed to be able to encode any single lowercase Greek l
    9·1 answer
  • Consider the gas carburizing of a gear of 1018 steel (0.18 wt %) at 927°C (1700°F). Calculate the time necessary to increase the
    12·1 answer
  • Các đặc điểm chính của đường dây dài siêu cao áp .
    10·1 answer
  • Harlin is designing a new car engine that does not create pollution. Which technological design factor is probably the most
    8·1 answer
  • What are the three main sections of a nuclear power plant?
    14·1 answer
  • What computer program can you use to publish and share a research project with others?
    7·1 answer
  • Add the following vector given in rectangular form and illustrated the process graphically A = 16+j12, B= 6+j10.4
    7·1 answer
  • What precautions should be taken to avoid the overloading of domestic electric circuits.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!