Your own while / else



I don't know why for any number I guess, it says I win when it's not even those 3 numbers. Also, it won't let me guess more after my first try. I looked at it for a while and forums I have checked out all do it differently. Any suggestions?
I was able to move on from this exercise I guess from a glitch.


if guess == 10 or 1 or 3:

It should be separated ..

guess == 10 or guess == 1 and so on for 3.




This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.