In python

Write an expression that executes the loop body as long as the user enters a non-negative number.

Note: If the submitted code has an infinite loop, the system will stop running the code after a few seconds and report "Program end never reached." The system doesn't print the test case that caused the reported message.

Sample outputs with inputs: 9 5 2 -1
Body
Body
Body
Done.

Answers

Answer 1

Answer:

inputed = input("Choose some numbers, each separated with a space: ")

chosen = list(inputed)

chosen = chosen.remove(' ')

for value in chosen:

if '-' not in value:

print(Body)

else:

print(Done)

break

Explanation:

The for loop will go through every value in the list (your numbers) and check if it is positive or negative.


Related Questions

Give two disadvantages of a moving coil Meter

Answers

1.Only suitable for dc
2.more expensive than moving iron type
3. Easily damaged

Which tool should an analyst in engineering design for the given scenario?

Answers

Answer:

What are some types of analysis that an engineer could use to test a design? (Possible answers may relate to: mathematical calculations; testing of stress, loads or function; or computer-aided analysis.)

hope it helps you..✌️

Answer:

[tex]{\large{\pink{ \overline{ \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: \: }}}}{}\ _{ \red{ \heartsuit}} [/tex]

10 tasks and 5 exercises. How many ways are there to build the test?

Answers

To find how many ways, you must simply multiply 10 tasks and 5 exercises

    Ways: = 10 * 5 = 50 ways

Hope that helps!

Q6. Ask for two numbers. If the first one is larger than the second, display the second number first and then the first number, otherwise show the first number first and then the second.

Answers

Answer:

Number1 = input("Choose a number: )

Number2 = input("Choose a second number: )

if number1 > number2:

print(number2\nnumber1)

else:

print(number1\nnumber2)

Explanation:

I'm assuming that you want it in python.

The sounds heard during the first phase of blood-pressure measurement are called.

Answers

The sounds heard during the first phase of blood-pressure measurement are called the Korotkoff sounds.

What sounds are heard during blood pressure?

The kind of sound that is bern heard during blood pressure is Korotkoff sounds which are produced underneath the distal half of the blood pressure cuff.

The sounds can be noticed when cuff pressures are between systolic and diastolic blood pressure.

Learn more about sounds at;

https://brainly.com/question/25871632

explain the working principles of a rotary engine​

Answers

Answer:

The rotary engine works on the same basic principle as the piston engine: combustion in the power plant releases energy to power the vehicle. However, the delivery system in the rotary engine is wholly unique. The piston engine performs four key operations: intake, compression, combustion, and exhaust.

Explanation:

During the design of spherical pressure vessel for space programs, a primary criterion is the mass of the vessel (which determines how much it costs to put it into the orbit). Given the stress in a thin walled spherical vessel is tensile and given by:

Answers

Tensile stress in a thin wall spherical shell is given by

σ = ( p r ) /2t

Tensile stress

This is the type of stress that involves pulling out. it is the opposite of compressive stress.

The tensile stress, σ  at the circumference of the shell is the hoop stress. The value equals that of pressure acting on the area.

Therefore:

σ * 2πr * t = p * πr^2

where

2πr = circumference of a circle

πr^2 = area of a circle

p = internal pressure

t = thickness

σ * 2πr * t = p * πr^2

σ = ( p r ) /2t

Read more Tensile stress here:

https://brainly.com/question/25748369

Which part of the electromagnetic spectrum is used in televisiions

Answers

Answer:

Television's use 2 portions of the electromagnet spectrum and that is Visible light and radio waves.

Explanation:

Visible light helps us see the picture on the television and radio waves are used to send pictures to television's screen.

The battery of an aircraft and even your car has the negative
as the ground. The question is why was the negative not the
positive chosen to be the ground?

Answers

Because Ground is downwards or in South which means having negative so it can’t be positive.

Grapes, sour
Red, elbow

Answers

what is you're question :)

Answer:

Explanation:

what is the question

Omar owns a stall selling handmade cosmetics, and wants to launch an e-commerce site. He has lots of experience selling his products in person at markets, but is now hoping to reach more customers online.

Can you advise Omar on how to make both his online and offline business successful?

Answers

Answer:

He could put up advertisements all over the town and pay a few websites or search engines to have his company and ads be more common. He should also use some designs and make his company's sign very adequate.

Calculate the acceleration of a 2000kg single engine airlane just before take off when the thrust of the engine is 500n?

Answers

Answer:

0.25 m/s²

Explanation:

Steering and suspension question

Answers

Answer:

I would say only A

Explanation:

steering dampeners are applied to heavy-duty and off-road vehicles in order to help stabilize and balance out your steering in rough terrain. luxury cars won't have them because, well, they are cars, and cars are not used for off-roading. trucks and SUVs and sometimes vans are though, which makes sense more than just a random luxury car with dampeners just sitting there for no reason at all when heavy-duty vehicles need them more than the car.

In surveying , supposing we can not pull the tape because it is passing through a shallow river. What will i do to obtain an accurate distance?​

Answers

Answer:

Hold the tape in place and go down to the end.

Explanation:

What is the difference between aerospace and aeronautical engineering

Answers

Answer:

Aerospace engineering is a broader subject that includes both aircraft and spacecraft studies. Aeronautical engineering focuses more on aircraft design and construction that flies within the Earth's atmosphere.

Explanation:

Aerospace engineering is a vast topic that involves research on both airplanes and spacecraft, further explained in the following paragraph.

Which profession pays better Aerospace or aeronautical engineering?

The median annual pay for aerospace engineers is $116,500, according to the US Bureau of Labor Statistics. Aerospace engineers, on the other hand, make $56.01 per hour. According to Glassdoor, the national average compensation for an Aeronautical Engineer in the United States is $80,000.

Aerospace engineering is a vast topic that involves research on both airplanes and spacecraft. Aeronautical engineering is concerned with the design and building of aircraft that fly within the atmosphere.

Learn more about the Aerospace or aeronautical engineering profession here:

https://brainly.com/question/16557541

#SPJ4

A transistor with a height of 0.4 cm and a diameter of 0.6 cm is mounted on a circuit board. The transistor is cooled by air flowing over it with an average heat transfer coefficient of 30 W/m2°C air = 30°C If the air temperature is 55°C and the transistor case temperature is not to exceed 70°C, determine the amount of power this transistor can dissipate safely. Disregard any heat transfer from the transistor base.

Answers

The minimum safety power that is safely dissipated using a transistor of height 0.4cm and diameter 0.06cm is 0.04665

Calculation for the exposed area

[tex]\pi DL +\frac{\pi }{4} D^2\\\\Area = 3.14 * 0.6*0.4+\frac{3.14}{4} *0.6^2[/tex]

D = diameter = 0.6cm

Length = height = 0.4cm

Area = 1.0367cm²

minimum safety heat that is dissipated

hA (Ts - Tair)

30 * 1.0367 x 10⁻⁴(70-55)

= 0.04665

The minimum safety power that is safely dissipated is 0.04665W

Read more on energy here: https://brainly.com/question/13881533

Darron loves his career because it mostly fits in with his lifestyle. He likes how he is able to make a lot of money and
stay very busy while at work. He also likes that he travels a lot and gets to see new places. He thinks that one of the
reasons he is successful is that he enjoys the competition in his career that some people would find stressful.
However, he wishes he had more time at home with his family.
Which aspect of Darron's career matches his lifestyle but is also in conflict with some of his desires?
® busyness while at work
® earning money
O frequent travel
© strong competition

Answers

Answer:

A

Explanation:

He says he loves work, but wants more time with his family, so this is in conflict with some of his other desires.

on to Hand Tools - Scored Items
Item 11 of 25
When working above the when working above the ground, what should be used to connect all tools to prevent injury to others or damage to the work below?

Answers

A lanyard should be used to connect all tools to prevent injury to others or damage to the work below when working above the ground.

What is OSHA?

OSHA is an abbreviation for occupational safety and health administration and it is an agency of the federal government that is saddled with the following responsibilities:

Assuring and ensuring safe and healthy working conditions for workers.Setting and enforcing standards, rules, and laws.

According to the Occupational Safety and Health Administration (OSHA), a lanyard should be used by workers to connect all tools, so as to prevent injury to other workers or even a damage to the work below, especially when working above the ground.

Read more on OSHA here: brainly.com/question/17199752

Metric wire size is measured in units of?

b. Cubic centimeters
a. Meters
c. Square millimeters
d. Cubic millimeters

Answers

Answer:

C which is square millimeters which is right.

Can you help me with this task/homework.
Need formulas so i can understand your result or anwser.

Answers

The answer should be B if I’m right

What is the purpose of networking?

Answers

Answer:

The purpose of networking is to make new friends, industry acquaintances, and even business partners.

Pouring molten aluminum into a mold and allowing it to cool forms:
A)
a stamped part.
B)
a cast part.
C)
an extruded part.
D)
a hydroformed part.

Answers

Hi :)

The answer is B. A cast part

How does a cast part form?

Molten material is then poured into a mould cavity that takes the form of the finished part. The molten material then cools, with heat generally until it solidifies into the desired shape.

Hope this helps!

Give the other person brainliest, they answered first

Hope this helps!

~NatLikesAnime~

#LearningWithBrainly.

#LearnWithBrainly

Might a synchronous motor equally well be called a synchronous inductor

Answers

In Engineering, a synchronous motor is sometimes referred to as synchronous capacitor but not a synchronous inductor.

What is a synchronous motor?

A synchronous motor can be defined as an alternating current (AC) electric motor in which the rotation speed of the shaft is directly proportional to the frequency of the supply current, especially at steady state.

Basically, a synchronous motor is sometimes referred to as a synchronous capacitor because it can be used to correct the power factor (PF) of a lagging load such as an induction motor.

However, a synchronous motor cannot be called a synchronous inductor because the rotation speed of the shaft is not proportional to the synchronous speed of the motor. Thus, they are called an synchronous motor.

Read more on synchronous motor here: https://brainly.com/question/12975042

Damage reports should contain the information needed for what?

Answers

Answer:

it's damage kindly be careful

Based on your understanding of color’s relationship to wavelength, identify the approximate wavelength of light (nm) emitted by strontium when it was burned in Part C. (No quantitative data was collected for this; you are giving an approximate value only, based on what you observed. ) Strontium emission = _________________nm

Explain your reasoning in full, making sure to cite specific data and observations to support your answer.

Q. 5 What would you conclude about chloride based on your results in the flame tests in Part C?

Q. 6 Place the metal solutions you tested in order of increasing energy based on the colors observed in the flame test; i. E. , A < B < C

Answers

The approximate emmission of Crimson is 620 to 700 nm

We would have to identify the wavelength that are emitted by the strontium.

In the strontium test, the observations would be based on the flames that are crimson red.

In the color wheel, the color with the highest wavelength is red at 620 to 700 mm.

3. The original color that is present in the test comes from when metal salt is heated. This usually causes its outer electrons to be excited, falling back to different energy wavelength in the spectrum.

Higher wavelength = loosely bound electron in the outer shell so that less energy is required.

The metals are red when they are burnt. The red color is the one with the highest wave length.

What is a wavelength?

This is defined as the existing distance that is found between waveds. These could be sound or electromagnetic waves.

Read more on wavelength here: https://brainly.com/question/10728818

In approximately 50 words, describe one thing a professional in an increased demand green construction occupation could do to add to the function, sustainability, and energy efficiency of the construction of a shopping center.


answer:Numbers of green increased demand occupations are growing and include power system operators and dispatchers. There are many green enhanced skill occupations which are being changed; some examples include continuous mining machine operators, electrical engineers, geological sample test technicians, mechanical engineers, and power plant operators, who are all receiving new tasks related to renewable energy generation

Answers

The things that the professional in an increased demand green construction occupation can add in the construction of a shopping center include:

Radiant floors.Solar power.Great water recycling.

What is a green buidling?

It should be noted that a green building simply means a design, construction, or operation that eliminates the negative impact on the climate and natural environment.

In this case, in order to illustrate energy efficiency, it's important to use radiant floors, geothermal system, energy efficient window systems, etc.

Learn more about green building on:

https://brainly.com/question/6560347

Construction engineering does not have much to do with design.
True
False

Answers

i’m pretty sure it is false .

Suppose a manager of a certain mining company wants to determine the weekly food expenditure of the company’s employees. if there are 2,549 employees and the manager decided to use only 500 employees as a sample, who will be included in the sample? to help the manager make his decision, suggest a sampling technique to be used and state the whole process of selecting the participants

Answers

The sampling technique that can be used to selecting the participants will be a random sampling.

What is sampling?

It should be noted that sampling simply a method in statistical analysis that predetermined observations are taken from the population.

In this case, the sampling technique that can be used to selecting the participants will be a random sampling. This is need to give everyone an equal chance of being selected.

Learn more about sampling on:

https://brainly.com/question/17831271

Explain what a structural engineer does?

Answers

Explanation:

Structural Engineers create drawings and specifications, perform calculations, review the work of other engineers, write reports and evaluations, and observe construction sites. A Professional Engineer's license is required in order to practice Structural Engineering.

In-------process the hot drawn bar or rod is pulled through the die.

Answers

Answer:

Explanation:

he metallic rod is fixed into the dies by using a die holder and then a drawing head is used in which the metallic rod is fixed through a jaw mechanism. And then the bar is stretched and slides between the surfaces of the die

Other Questions
Which statement best expresses the significance of the requirement of precedent in legal argument? A bucket of mass m is attached to a rope that is wound around the outside of a solid sphere (I = 2/5 M^2) of radius R. When the bucket is allowed to fall from rest, it falls with an acceleration of a down. What is the mass of the sphere in terms of m, R, a, and g? EXPLAIN HOW THE FEAR OF COMMUNISM ENDED UP TURNING AMERICASOMETHING SIMILAR TO A TOTALITARIAN STATE. The directions are with the pic below. Its 2 parts of this equation. Ill send the other part. Couldnt all fit on the page. help me for five fazcoins and a copy of the morbius movie Use the information to answer the WILL GIVE BRAINLIEST!! question.The picture shows two sections of Mrs. Jones's art supply drawer.PaintsBrushes10 in.8 in.6 in.3 in.What is the total area of both sections of the drawer? Enter the answer in the box.square inches Which of the following is not a part of writing an effective audience profile?A.readers' self-definitionsB.your purpose for writingC.readers' interestsD.the readers' age range Does the crime of aiding and abetting require intent?. What kind of trees are used for Northwest Native totem poles?A. PineB. Any typesC. CedarD. Palm a binder normally costs $8.99. use this information to answer the questions below Photo by Carptrash, distributed under a CC BY-SA 3.0 license.Which civilization created this piece of artwork? .IncaOB.OlmecO C.AztecOD. Mayan Why was it important for the colonial regions to band together against Great Britain? Georgia is a coffee enthusiast and drinks three coffee drinks a day from a local coffee shop costing $1.25 each. Being concerned with the expense of her coffee habit Georgia looks into making her own manual brewed coffee. A bag of premium coffee beans costs $70.00, a coffee grinder costs $120.00, and the manual coffee brewer costs $40.00. If a bag of coffee makes enough for 100 cups, how many full bags of coffee does she need to consume before saving money. The World on the Brink: John F. Kennedy and the Cuban Missile Crisis. Write a clear statement summarizing the situation Kennedy faced. Read the excerpt from "A Wagner Matinee" by Willa Cather. "One summer, which she had spent in the little village in the Green Mountains where her ancestors had dwelt for generations, she had kindled the callow fancy of the most idle and shiftless of all the village lads, and had conceived for this Howard Carpenter one of those absurd and extravagant passions which a handsome country boy of twenty-one sometimes inspires in a plain, angular, spectacled woman of thirty. When she returned to her duties in Boston, Howard followed her; and the upshot of this inexplicable infatuation was that she eloped with him, eluding the reproaches of her family and the criticism of her friends by going with him to the Nebraska frontier. " What is most likely the meaning of reproaches? Question 3 options: cooperation disapproval rudeness surrender. I am struggling on this and I need help Pleas help as soon as possible will give brainiest IF CORRECT A softball and a basketball start from rest and roll down an incline. Which ball reaches the bottom first? Which of the following sentences contains a metaphor?Question 3 options:My oatmeal looks like dirt.The frog was loud.My English teacher is a witch.Her hair was like silk.