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
Which of the following statements about glycogen metabolism is FALSE?
Ratling [72]

Answer:

Glycogen is the primary energy source for muscle and liver cells.

Explanation:

Glycogen is a readily mobilized storage form of glucose. It is a very large, branched polymer of glucose residues that can be broken down to yield glucose molecules when energy is needed. Most of the glucose residues in glycogen are linked by α-1,4-glycosidic bonds. Branches at about every tenth residue are created by α-1,6-glycosidic bonds.

Glycogen is not as reduced as fatty acids are and consequently not as energy rich. Why do animals store any energy as glycogen? Why not convert all excess fuel into fatty acids? Glycogen is an important fuel reserve for several reasons. The controlled breakdown of glycogen and release of glucose increase the amount of glucose that is available between meals. Hence, glycogen serves as a buffer to maintain blood-glucose levels. Glycogen's role in maintaining blood-glucose levels is especially important because glucose is virtually the only fuel used by the brain, except during prolonged starvation. Moreover, the glucose from glycogen is readily mobilized and is therefore a good source of energy for sudden, strenuous activity. Unlike fatty acids, the released glucose can provide energy in the absence of oxygen and can thus supply energy for anaerobic activity.

3 0
3 years ago
The most important rating for batteries is the what
kifflom [539]

Answer:

I'm completely sure that the answer is: The most important rating for batteries is the ampere-hour rating. Ampere-hour is the battery discharge rating. It's used as a measure of charge in your device. It indicates how long your device will work without charging.

Explanation:

Hope this helped!

7 0
2 years ago
Primary mental skills needed for riding a motorcycle
Irina-Kira [14]

Answer:

You have to know the basic mechanics to help you correctly use the motorcycle, and you also have to have the right mindset - knowing you can ride it, and having determination. All of these factors are the primary mental skills you need for riding a motorcycle.

5 0
2 years ago
A cylindrical insulation for a steam pipe has an inside radius rt = 6 cm, outside radius r0 = 8 cm, and a thermal conductivity k
goldfiish [28.3K]

Answer:

heat loss per 1-m length of this insulation is 4368.145 W

Explanation:

given data

inside radius r1 = 6 cm

outside radius r2 = 8 cm

thermal conductivity k = 0.5 W/m°C

inside temperature t1 = 430°C

outside temperature t2 = 30°C

to find out

Determine the heat loss per 1-m length of this insulation

solution

we know thermal resistance formula for cylinder that is express as

Rth = \frac{ln\frac{r2}{r1}}{2 \pi *k * L}   .................1

here r1 is inside radius and r2 is outside radius L is length and k is thermal conductivity

so

heat loss is change in temperature divide thermal resistance

Q = \frac{t1- t2}{\frac{ln\frac{r2}{r1}}{2 \pi *k * L}}

Q = \frac{(430-30)*(2 \pi * 0.5 * 1}{ln\frac{8}{6} }

Q = 4368.145 W

so heat loss per 1-m length of this insulation is 4368.145 W

4 0
3 years ago
An electrical heater is a form of sensible heating process, and heats 0.1m/s of air from 15°C and 80% RH to 50°C? The barometric
lawyer [7]

Answer:

The heater load =35 KJ/kg

Explanation:

Given that

At initial condition

Temperature= 15°C

RH=80%

At final condition

Temperature= 50°C

We know that in sensible heating process humidity ratio remain constant.

Now from chart

At temperature= 15°C and RH=80%

h_1=38 \frac{KJ}{kg},v=0.8 \frac{m^3}{kg}

At  temperature= 50°C

h_2=73 \frac{KJ}{kg}

So\ the\ heater\ load =h_2-h_1

The heater load = 73 - 38 KJ/kg

The heater load =35 KJ/kg

3 0
2 years ago
Other questions:
  • What is a two stroke engine and what is a four stroke engine, please keep the definitions as simple as can be and please explain
    8·2 answers
  • WHO EVER COMMENTS FIRST GETS BRAINLIEST LOL
    15·2 answers
  • i need jacket for my daughter who will be going on a girls scouts camping trip it cannot be bulky because she is limited to one
    8·2 answers
  • For a very rough pipe wall the friction factor is constant at high Reynolds numbers. For a length L1 the pressure drop over the
    9·1 answer
  • Can U lose a rank in Brainly by using too many points?
    6·1 answer
  • if when you put your shirt in your pants, your shirt is tucked, does that mean when your shirt is over your pants, your pants ar
    6·2 answers
  • Which outcome most accurately portrays the future for the timber company in the following scenario?
    9·1 answer
  • You installed a new 40 gallon water heater with a 54,000 BTUh burner. The underground water temperature coming into the house is
    9·1 answer
  • A red circle and diagonal slash on a sign means that:.
    10·1 answer
  • I feel so pressured..
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!