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
A labor-intensive process to manufacture a product has a fixed cost of $338,000 and a variable cost of $143 per unit. An automat
ozzi

Answer:

no of unit is 17941

Explanation:

given data

fixed cost = $338,000

variable cost = $143 per unit

fixed cost = $1,244,000  

variable cost = $92.50 per unit

solution

we consider here no of unit is = n

so here total cost of labor will be sum of fix and variable cost i.e

total cost of labor = $33800 + $143 n  ..........1

and

total cost of capital intensive  = $1,244,000 + $92.5 n   ..........2

so here in both we prefer cost of capital if cost of capital intensive less than cost of labor

$1,244,000 + $92.5 n  <  $33800 + $143 n

solve we get

n > \frac{906000}{50.5}

n > 17941

and

cost of producing less than selling cost so here

$1,244,000 + $92.5 n < 197 n

solve it we get

n > \frac{1244000}{104.5}  

n > 11904

so in both we get greatest no is 17941

so no of unit is 17941

3 0
3 years ago
When your fixing a car, what is the first thing you want to do?
Shtirlitz [24]

Answer:

Changing oil.

Explanation:

You need to regularly check and change your car’s oil to ensure smooth running of the vehicle and to prolong the lifespan of its engine.

6 0
3 years ago
A transformer winding contains 900 turns of wire which creates 400 ohms of primary importance how many terms of the same size wi
Eduardwww [97]

Answer: 255

255 turns are required to create 25 ohms of  secondary impedance.

Explanation:

Given that,

Number of turns in primary wire N₁ = 900

impedance on Primary wire Z₁ = 400 ohms

Number of turns in Secondary wire N₂ = ?

impedance on Secondary wire Z₂ = 25 ohms

we know that, the relationship between turn and impedance is

Zp / Zs = ( Np / Ns )²

(Primary impedance / secondary impedance) = Number of turns in primary wire / Number of turns in secondary wire)²

there fore

Z₁ / Z₂ = ( N₁ / N₂ )²

Now we substitute

( 400 / 25 ) = ( 900 / N₂ )²

400 / 25 = 900² / N₂²

we cross multiple to get our N₂

400 × N₂² =  900² × 25

N₂² = ( 900² × 25 ) / 400

N₂² = ( 810000 × 25 ) / 400

N₂² = 20250000 / 400

N₂² = 50625

N₂ = √50625

N₂ = 225

Therefore 255 turns are required to create 25 ohms of  secondary impedance.

4 0
3 years ago
THE COMPUND INTEREST ON RS 30,000AT 7% PER ANNUM IS RS 4347 THE PERIOD IN YEARS
timofeeve [1]

Answer:

what wym

Explanation:

4 0
3 years ago
Read 2 more answers
When you are climbing a hill on a bike with different speeds, why does it seem like you are pedaling a lot to cover a short dist
ololo11 [35]

It seems like your pedaling a lot because it takes more energy and is way slower than a regular road. It you switch to the higher gear it will make you go slower because it is made for going down hill or going high speeds and a lower gear will help you more cause its easier and it will make it go faster.

5 0
3 years ago
Other questions:
  • The assembly consists of two red brass C83400 copper alloy rods AB and CD of diameter 30 mm, a stainless 304 steel alloy rod EF
    11·1 answer
  • What are the disadvantages of using 3D ink jet printing ??
    8·1 answer
  • Indicates the design of the building and<br> adjoining areas
    12·1 answer
  • A steam power plant operates on an ideal Rankine cycle with two stages of reheat and has a net power output of 120 MW. Steam ent
    14·1 answer
  • The unit weight of a soil is 14.9kN/m3. The moisture content of the soil is17% when the degree of saturation is 60%. Determine:
    15·1 answer
  • Water at atmospheric pressure boils on the surface of a large horizontal copper tube. The heat flux is 90% of the critical value
    11·1 answer
  • W10L1-Show It: Pythagorean Theorem<br> Calculate the total material in the picture.<br> 4<br> 3
    14·1 answer
  • This is hard please help me you will give brainlist
    5·2 answers
  • A school is playing $0.XY per kWh for electric power. To reduce its power bill, the school installs a wind turbine with a rated
    6·1 answer
  • A ________ can be installed in a cast-iron block to repair a worn or cracked cylinder. Question 24 options:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!