Answer:
for i in range(0,10):
if SimonPattern[i] == UserPattern[i]:
score = score + 1
i = i + 1
else:
break
if i == 9:
score = score + 1
print("Total Score: {}".format(score))
Explanation:
This for loop was made using Python. Full code attached.
- For loop requires a range of numbers to define the end points. For this Simon Says game, we are talking about 10 characters, so that must be the range for the for loop: from 0 to 10.
- Conditional if tests if Simon pattern matches User's one characheter by one and add point for each match.
- Break statement is ready to escape the for loop at first mismatch.
- As we are starting from index 0, if the users matched all the characters correctly, then we need to add 1, otherwise the maximun score would be 9 and it should be 10.
Answer:
The picture below with the answer. Hope it helps, have a great day/night and stay safe! Length of the coil,
Answer:
35
Explanation: I really dont even know, I just used up all my tries on it and got it wrong on every other thing i chose. So it's 35 i believe cause its the only answer i didnt choose.
The exit temperature is 586.18K and compressor input power is 14973.53kW
Data;
- Mass = 50kg/s
- T = 288.2K
- P1 = 1atm
- P2 = 12 atm
<h3>Exit Temperature </h3>
The exit temperature of the gas can be calculated isentropically as
Let's substitute the values into the formula
The exit temperature is 586.18K
<h3>The Compressor input power</h3>
The compressor input power is calculated as
The compressor input power is 14973.53kW
Learn more on exit temperature and compressor input power here;
brainly.com/question/16699941
brainly.com/question/10121263
Yes. They are declining in China. Very fast