Answer:
It makes your brain work better and it's also fun.
Explanation:
The brain does not like just one thing it wants to have more experience.
Answer:
to answer this question I am going to need a little bit more info
Explanation:
You posted in the wrong category friend. :)
But that law is the Fair Labor Standards Act (FLSA).
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