subject
Engineering, 27.02.2021 01:50 princessjsl22

Write a Nested While Loop that will increment the '*' from 1 to 10. The code below will decrement from 10 to 1.
i = 1
while(i<=11):
j = 11
while(j>=i):
print('*', end = '')
j -= 1
i += 1
print()

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:20
Avolume of 2.65 m3 of air in a rigid, insulated container fitted with a paddle wheel is initially at 264 k, 5.6 bar. the air receives 432 kj by work from the paddle wheel. assuming the ideal gas model with cv = 0.71 kj/kg • k, determine for the air the amount of entropy produced, in kj/k
Answers: 2
question
Engineering, 04.07.2019 18:20
An open feedwater heater operates at steady state with liquid entering at inlet 1 with t? = 40°c and pl = 1 .2 mpa. water vapor att2-200°c and p2 = 1.2 mpa enters at inlet 2. saturated liquid water exits with a pressure of pa 1.2 mpa. neglect heat transfer with the surroundings and all kinetic and potential energy effects, determine the mass flow rate of steam at inlet 2 if the mass flow rate of liquid water at inlet 1 is given as 2 kg/s.
Answers: 3
question
Engineering, 04.07.2019 19:20
In the winter, in order to keep the classroom steadily at 68 f before 10 pm, heating with an average rate of 42,000 btu/hr is provided. assume the outdoor temperature maintains at 32°f, determine the electrical power (kw) required to (a) operate a reversible heat pump (b) operate a real heat pump with a cop (7) of 4.5 and (c) operate an electrical-resistance heater.
Answers: 3
question
Engineering, 04.07.2019 19:20
A5 kg block of fe is dropped into a very large vat of water. the fe and water initial temperatures are 95 and 25 c, respectively. the fe final temperature is 25 c and the water can be treated as a thermal reservoir,. treated as a thermal reservoir take the water to be the system and determine the entropy generation. report vour answer in kj/k.
Answers: 1
You know the right answer?
Write a Nested While Loop that will increment the '*' from 1 to 10. The code below will decrement f...
Questions
question
Mathematics, 14.12.2019 17:31
question
Social Studies, 14.12.2019 17:31
Questions on the website: 13722360