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]
2 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]2 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 human body gets its energy via the combustion of blood sugar (glucose). if all of the chemical bond energy in 10 g of glucos
Gnesinka [82]

Answer:

speed by mass attain is 55.86 m/s

Explanation:

given data

glucose = 10 g

mass = 100 kg

to find out

speed by mass attain

solution

we know glucose have 180 g molecular weight and

that 1 g glucose produce energy = 2816/180 × 10³ J

so here 10 g of glucose produce energy =  1.56 × 10^{5} J

so here energy release = 1/2 × mv²

1.56 × 10^{5}  = 1/2 × (100)v²

v² = 3.12 × 10³

and v = 55.86 m/s

so speed by mass attain is 55.86 m/s

4 0
3 years ago
How would an engineer know if a product design were feasible?
Masteriza [31]
- the last one ‘design meets all the criteria...’
8 0
3 years ago
Read 2 more answers
A hemispherical shell with an external diameter of 500 mm and a thickness of 20 mm is going to be made by casting, located entir
Olenka [21]

Solution :

Given :

External diameter of the hemispherical shell, D = 500 mm

Thickness, t = 20 mm

Internal diameter, d = D - 2t

                                 = 500 - 2(20)

                                 = 460 mm

So, internal radius, r = 230 mm

                                 = 0.23 m

Density of molten metal, ρ = $7.2 \ g/cm^3$

                                                  = $7200 \ kg/m^3$

The height of pouring cavity above parting surface is h = 300 mm

                                                                                                  = 0.3 m

So, the metallostatic thrust on the upper mold at the end of casting is :

$F=\rho g A h$

Area, A $=2 \pi r^2$

            $=2 \pi (0.23)^2$

            $=0.3324 \ m^2$

$F=\rho g A h$

   $=7200 \times 9.81 \times 0.3324 \times 0.3$

     = 7043.42 N

3 0
2 years ago
Small droplets of carbon tetrachloride at 68 °F are formed with a spray nozzle. If the average diameter of the droplets is 200 u
Licemer1 [7]

Answer:

the difference in pressure between the inside and outside of the droplets is 538 Pa

Explanation:

given data

temperature = 68 °F

average diameter = 200 µm

to find out

what is the difference in pressure between the inside and outside of the droplets

solution

we know here surface tension of carbon tetra chloride at 68 °F is get from table 1.6 physical properties of liquid that is

σ = 2.69 × 10^{-2} N/m

so average radius = \frac{diameter}{2} =  100 µm = 100 ×10^{-6} m

now here we know relation between pressure difference and surface tension

so we can derive difference pressure as

2π×σ×r = Δp×π×r²    .....................1

here r is radius and  Δp pressure difference and σ surface tension

Δp = \frac{2 \sigma }{r}    

put here value

Δp = \frac{2*2.69*10^{-2}}{100*10^{-6}}  

Δp = 538

so the difference in pressure between the inside and outside of the droplets is 538 Pa

7 0
3 years ago
Risks in driving never begins with yourself, but with other drivers who take risks.
Ymorist [56]

False! Just saying. You could be under the influence, or just have no clue as to what you're doing.

8 0
2 years ago
Other questions:
  • Benzoic acid 1.35 g, is reacted with oxygen in a constant volumecalorimeter to form H2 O(l) and CO2 (g)at 298 K. the mass of the
    7·1 answer
  • A water jet strikes normal to a fixed plate. If diameter of the outlet of the nozzle is 8 cm,and velocity of water at the outlet
    11·1 answer
  • Some connecting rods have ____ to help lubricate the cylinder wall or piston pin.
    12·2 answers
  • A coal-fired power plant is burning bituminous coal that has an energy content of 12,000 Btu/lb. The power plant is burning the
    13·1 answer
  • What does it mean to test a hypothesis?
    13·1 answer
  • An ideal vapor-compression refrigeration cycle using refrigerant-134a as the working fluid is used to cool a brine solution to −
    12·1 answer
  • I need the answer please
    7·1 answer
  • How much does it cost to replace a roof on a 2,200 square foot house.
    10·1 answer
  • As a worker in this field you would:
    5·1 answer
  • The policeman was questioning the drivers and searching their vehicles. The drivers ____ and their vehicles ____
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!