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
Zanzabum
3 years ago
6

Write a Nested While Loop that will increment the '*' from 1 to 10.

Engineering
1 answer:
andrey2020 [161]3 years ago
8 0

Answer:

The program is as follows:

i = 1

while(i<11):

   j = 1

   while(j<=i):

       print('*', end = '')

       j += 1

   i += 1

   print()

Explanation:

Initialize i to 1

i = 1

The outer loop is repeated as long as i is less than 11

while(i<11):

Initialize j to 1

   j = 1

The inner loop is repeated as long as j is less than or equal i

   while(j<=i):

This prints a *

       print('*', end = '')

This increments j and ends the inner loop

       j += 1

This increments i

   i += 1

This prints a blank and ends the inner loop

   print()

You might be interested in
What causes the charging system warning lamp to go out when the engine starts up?
Flura [38]
B is the answer I believe so
7 0
3 years ago
Ammonia enters the expansion valve of a refrigeration system at a pressure of 1.4 MPa and a temperature of 32degreeC and exits a
AveGali [126]

Answer:

the quality of the refrigerant exiting the expansion valve is 0.2337 = 23.37 %

Explanation:

given data

pressure p1 = 1.4 MPa = 14 bar

temperature t1 = 32°C

exit pressure = 0.08 MPa = 0.8 bar

to find out

the quality of the refrigerant exiting the expansion valve

solution

we know here refrigerant undergoes at throtting process so

h1 = h2

so by table A 14 at p1 = 14 bar

t1 ≤ Tsat

so we use equation here that is

h1 = hf(t1) = 332.17 kJ/kg

this value we get from table A13

so as h1 = h2

h1 = h(f2)  + x(2) * h(fg2)

so

exit quality  = \frac{h1 - h(f2)}{h(fg2)}

exit quality  = \frac{332.17- 9.04}{1382.73)}

so exit quality = 0.2337 = 23.37 %

the quality of the refrigerant exiting the expansion valve is 0.2337 = 23.37 %

5 0
3 years ago
What is electrical energy used for?
FromTheMoon [43]

Answer:

to power devices  appliances and  some methods of transportation

Explanation:

6 0
3 years ago
Read 2 more answers
What Advantage does a voltmeter have over a noncontact voltage indicator when testing for voltage
galina1969 [7]

Answer:

Obviously you shouldn't rely just on the meter for your safety. You'd disconnect wall fuses or kill main switches before you start, using the meter just gives you some extra protection: with the meter you might notice for example that you've disconnected the wrong fuse and the unit is still live.

Explanation:

Hope it helps! :)

5 0
2 years ago
Linear dimensioning commands are used to dimension _____.
ehidna [41]

Answer:

Horitzontal and Vertical Lines

Explanation:

You can use this command to generate horizontal and vertical dimensions. Creating a linear dimension is easy. All you have to do is start the command, specify the two points between which you want the dimension to be drawn and pick a point to fix the position of the dimension line.

4 0
2 years ago
Other questions:
  • What will happen in a wire drawing operation when the cross-sectional area has a reduction of 60% in a single pass?
    10·1 answer
  • Zona intermedia de pozos <br> Y<br> Efecto de inavasion
    6·1 answer
  • Consider the following program:
    15·1 answer
  • Estimate the daily carbon utilization to remove chlorobenzene from 1.0 MGD of ground water saturated with chlorobenzene. Assume
    12·1 answer
  • Block A has a weight of 8 lb. and block B has a weight of 6 lb. They rest on a surface for which the coefficient of kinetic fric
    8·1 answer
  • Early American rockets used an RC circuit to set the time for the rocket to begin re-entry after launch (true story). Assume the
    5·1 answer
  • Draw an ERD for each of the following situations. (If you believe that you need to make additional assumptions, clearly state th
    15·1 answer
  • A square loop of wire surrounds a solenoid. The side of the square is 0.1 m, while the radius of the solenoid is 0.025 m. The sq
    6·1 answer
  • Help me asap I rely need help u will be my fav​
    8·2 answers
  • A step-up transformer has 20 primary turns and 400 secondary turns. If the primary current is 30 A, what is the secondary curren
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!