Create a program that asks the user to guess the color. (COLOR GUESSING GAME) in python.
Home
/
Create a program that asks the user to guess the color. (COLOR GUESSING GAME) in python.
Create a program that asks the user to guess the color. (COLOR GUESSING GAME) in python.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Pseudocode
Set guess = 0
Set RanNum= Random number between
1-100
Repeat (Loop) until guess = RanNum
Ask player: “Guess a number between 1 and 100:”
Set guess = player answer
If guess = RanNum Then
Output: “You guessed it right!”
Else
If guess > RanNumThen
Output: “Too big! Try again.”
Else
Output: “Too small! Try again.”
End If End If
End Loop
pa brainliest po pls follow, heart, 5 stars , brainliest po pls,