Question: Assign the value 5 to the variable guess _ me . Use a for loop to iterate a variable called number over range ( 1
Assign the value to the variable guessme Use a for loop to iterate a variable called number over range If number is less than guessme print 'too low' If it equals guessme print found it and then break out of the for loop. If number is greater than guessme print 'oops' and then exit the loop.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
