r/programmingbydoing • u/TeachMeSensei101 • Feb 20 '17
Hi-Lo with Limited Tries
LINK TO CODE: https://gist.github.com/anonymous/72f99fa4fe5e233716c9d8bad3552dc6
I'm having two challenges at the moment.
1: I can't have the program display if the very first guess number is too high or too low without including an if statement before the While Loop. How do I keep track after asking their first guess and is it possible to keep that in a loop?
2: my number starts at #0. How do I display it so that even though tries starts at 0 it appears as 1.
Thanks!
1
Upvotes
2
u/holyteach Feb 21 '17