in reply to Re^2: Control Structure problem, mistake can't be found
in thread Control Structure problem, mistake can't be found
broomduster and toolic provided the solution, I just want to emphasize what broomduster said in another post in this thread: Learn to use print to debug your program.
If you had printed both of the comparision operands, $guess and $correct[$i] (and whatever else seemed interesting), you could have solved the riddle by yourself. And as you surely know, you best learn from things you find out yourself.
|
|---|