Explore Westonci.ca, the leading Q&A site where experts provide accurate and helpful answers to all your questions. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

You have a plan for a program. Match the planning comment to the code that executes that part of the plan.
# Create a loop that continues until the user guesses the number.
# Get a guess from the user and update the number of guesses.
# Compare the guess to the correct answer.

guess = mput Guess an integer from 1 to 10: *)
quess = intouess)
attempts = attempts + 1

if guess == comect.
 Tell the user the guess was conect print"You were conectr
keepGoing = False
ese
print"You were wrong.")

keepGong = True
while keepGoing:

Sagot :