Answer:
Note: a) If the length of the string is odd there will be two middle characters.
Explanation:
b) If the length of the string is even there will be one middle character. There was a problem connecting to the server. Please check your connection and try running the trinket again.
Answer:
CMOS
Explanation:
CMOS stands for complementary metal oxide semiconductor. CMOS is in the design of several types of semiconductors. in most computers there are CMOS that are powered by the PC's batteries to save the memory state of date, time, and system setup parameters when the PC looses power. In the question above, given the specified parameters for the new system, a CMOS chip will serve perfectly
<u>Answer:</u>
<em>Organize things
</em>
<u>Explanation</u>:
It is the <em>duty and power of external brain to Organize ideas</em>. Per day we may have plenty of works to be done. So we start thinking about <em>one by one and finally we try to sort out and organize how to perform, when to do and what is the first and last task etc. </em>
It is the external brain which is helping us to figure it out. But there are certain times where we <em>dump things together</em>, especially when there is an very important like marriage of our family member, where they <em>give lots of responsibilities. </em>
<em>At that time, we have very limited time to work out things and we dump our external brain.
</em>
<span>D - graphical user interface</span>
Answer:
def main():
# Initialize variables
numGuesses = 0
userGuess = -1
secretNum = 5
name = input("Hello! What is your name?")
while ( userGuess != secretNum):
userGuess = int(input("Guess a number between 1 and 20: "))
numGuesses = numGuesses + 1
if (userGuess < secretNum):
print("You guessed " + str(userGuess) + ". Too low.")
if (userGuess > secretNum):
print("You guessed " + str(userGuess) + ". Too high.")
print("You guessed " + str(userGuess) + ". The correct number is " + secretNum + " after " + numGuess + " times.")
main()
Explanation:
add a While until userGuess == secretNum than we stop