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 an example of a service job?
Sindrei [870]

Answer:

brainllest if right

A

Explanation:

7 0
3 years ago
The phase sequence of a 3-phase system for which VAN = 120 /90o V and VBN = 120 /210o V is:_______
Vadim26 [7]

Answer:

b. abc

Explanation:

The phase rotation and its sequence is order in which voltage is reached to their respective sources. The wave forms of a polyphase flow through AC source to the panel. The three phase system has two possible sequence which can be a-b-c or c-b-a. The correct answer is therefore b.

4 0
3 years ago
Argon is compressed in a polytropic process with n = 1.2 from 100 kPa and 30°C to 1200 kPa in a piston–cylinder device. Determin
gulaghasi [49]

Answer:

<em>181 °C</em>

<em></em>

Explanation:

Initial pressure P_{1} = 100 kPa

Initial temperature T_{1} = 30 °C = 30 + 273 K = 303 K

Final pressure P_{2} = 1200 kPa

Final temperature T_{2} = ?

n = 1.2

For a polytropic process, we use the relationship

(T_{2}/T_{1} ) = (P_{2}/P_{1})^γ

where γ = (n-1)/n

γ = (1.2-1)/1.2 = 0.1667

substituting into the equation, we have

(T_{2}/303) = (1200/100)^0.1667

T_{2}/303 = 12^0.1667

T_{2}/303 = 1.513

T_{2} = 300 x 1.513 = 453.9 K

==> 453.9 - 273 = 180.9 ≅ <em>181 °C</em>

5 0
3 years ago
or a metal pipe used to pump tomato paste, the overall heat- transfer coefficient based on internal area is 2 W/(m2 K). The insi
igomit [66]

Answer: ok the best one would be letter s because it goes

Explanation:

467,,mm tubing should do

7 0
3 years ago
A lake with constant volume 1.1 x 10^6 m^3 is fed by a stream with a non-conservative pollutant of 2.3 mg/L and flow rate 35 m^3
Jet001 [13]

Answer:

12.84 mg/L

Explanation:

We are given;

Volume of lake; V = 1.1 x 10^(6) m³

decay coefficient; K = 0.10/day = 0.1/(24 × 60 × 60) /s = 0.00000115741 /s

Factory rate: Q_f = 4.3 m³/s

Factory concentration: C_f = 100 mg/L

Stream rate: Q_s = 34 m³/s

Stream Concentration: C_s = 2.3 mg/L

Now, to find the steady state concentration of pollutant in the lake, we will use the formula;

(Q_s•C_s) + (Q_f•C_f) = (Q_f + Q_s)C_L + (KV•C_L)

Where C_L is the steady state concentration of pollutant in the lake.

Thus, making C_L the subject, we have;

C_L = [(Q_s•C_s) + (Q_f•C_f)]/(Q_f + Q_s + K•V)

Plugging in the relevant values gives;

C_L = ((34 × 2.3) + (4.3 × 100))/(4.3 + 34 + (0.00000115741 × 1.1 × 10^(6)))

C_L = 12.84 mg/L

4 0
3 years ago
Other questions:
  • The spring has a stiffness k=200 N/m and is unstretched when the 25 kg block is at A. Determine the acceleration of the block wh
    6·1 answer
  • The cables of a power line are copper-coated steel wire. The overall diameter of the wire is 5/8 in. The steel core has a diamet
    8·1 answer
  • The pressure in an automobile tire depends on thetemperature of the air in the tire. When the air temperature is25°C, the pressu
    11·1 answer
  • 2. The initially velocity of the box and truck is 60 mph. When the truck brakes such that the deceleration is constant it takes
    12·1 answer
  • Which of the following drivers has the right-of-way?
    9·1 answer
  • Plot the following trig functions using subplots, choosing an appropriate layout for the number of functions displayed. The subp
    8·1 answer
  • ________ is the most theoretical computing discipline, focusing mostly on finding new and better ways for computers to work
    9·1 answer
  • A mass of air occupying a volume of 0.15m^3 at 3.5 bar and 150 °C is allowed [13] to expand isentropically to 1.05 bar. Its enth
    11·1 answer
  • Hello, so I have a watch and I don't know where the plugin for the charger is, or what brand it is. Please do help and please DO
    11·1 answer
  • Help please!!!!!
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!