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
The author claims that engineers should always have the final say and last word when it comes to setting safety standards. Selec
Lisa [10]

Answer:

I select false because engineers are not the only thing we have, we have scientists doctors mathematicians and much more to give safety standards

4 0
4 years ago
Read 2 more answers
Consider the flow field given by V ! =xy2^i− 1 3 y3^j+xyk ^. Determine (a) the number of dimensions of the flow, (b) if it is a
Basile [38]

Answer:

a) The flow has three dimensions (3 coordinates).

b) ∇V = 0 it is a incompressible flow.

c) ap = (16/3) i + (32/3) j + (16/3) k

Explanation:

Given

V = xy² i − (1/3) y³ j + xy k

a) The flow has three dimensions (3 coordinates).

b) ∇V = 0

then

∇V = ∂(xy²)/∂x + ∂(− (1/3) y³)/∂y + ∂(xy)/∂z

⇒ ∇V = y² - y² + 0 = 0 it is a incompressible flow.

c) ap = xy²*∂(V)/∂x − (1/3) y³*∂(V)/∂y + xy*∂(V)/∂z

⇒ ap = xy²*(y² i + y k) - (1/3) y³*(2xy i − y² j + x k) + xy*(0)

⇒ ap = (xy⁴ - (2/3) xy⁴) i + (1/3) y⁵ j + (xy³ - (1/3) xy³) k

⇒ ap = (1/3) xy⁴ i + (1/3) y⁵ j + (2/3) xy³ k

At point (1, 2, 3)

⇒ ap = (1/3) (1*2⁴) i + (1/3) (2)⁵ j + (2/3) (1*2³) k

⇒ ap = (16/3) i + (32/3) j + (16/3) k

3 0
3 years ago
A 12 m thick layer of Chicago clay is doubly drained. This means that a very previous layer compared to the clay exists on top o
iren2701 [21]

Answer:

At 3 =99.60

At 6 =66.66

At 12 =33.38

Please see attachment for the percent consolidation.

3 0
3 years ago
3. What is the function of valve springs in a cylinder head?
fiasKO [112]
The answer is to prevent oil from entering the combustion chamber.
8 0
3 years ago
Read 2 more answers
What are the risks of biohacking? Do you think the risks of biohacking outweigh the advantages? Why or why not?
maksim [4K]

Explanation:

Despite its futuristic outlook and results biohacking remains a largely unsupervised, dangerous if not illegal movement. Though the research and results produced by biohackers is ground breaking, it also breaks several ethical codes on human experimentation and endangering live of several humans.

I agree with the fact that risks outweigh advantages, but you can do things like:

- 3D Printing Body Parts

- Finding Cures

- Correcting Deformites.

The only issue is that it's illegal, unfortunately.

5 0
3 years ago
Other questions:
  • Women make up about 20% of the workforce in the aviation industry. With such a small percentage of female employees, JetBlue mus
    8·2 answers
  • You are given a body with no body forces and told that the stress state is given as: ⎡ ⎣ 3αx 5βx2 + αy γz3 5βx2 + αy βx2 0 γz3 0
    8·1 answer
  • A refrigerator removes heat from a refrigerated space at 0°C at a rate of 2.2 kJ/s and rejects it to an environment at 20°C. wha
    15·1 answer
  • I really need some help here!
    7·1 answer
  • The secondary line to voltage of a threephase connected transformer bank is 11 VACWhat would be the secondary line to neutral vo
    7·1 answer
  • 30POINTS
    15·2 answers
  • What is the safe psi pressure for acetylene
    13·1 answer
  • A six-lane freeway (three lanes in each direction) in rolling terrain has 10-ft lanes and obstructions 5 ft from the right edge.
    9·1 answer
  • The insulation resistance of a motor operated by an electronic drive is to be tested using a megger. What precaution should you
    5·1 answer
  • which of the following tools is used for measuring small diameter holes which a telescoping gauge cannot fit into? A. telescopin
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!