an Gauld wrote:
>
>
> On 9 May 2018 2:30 am, Kerri Murphy wrote:
>
> Hi there,
>
> Yes, the first code does a good job by asking them to go higher or lower
> after each guess, in the pop up window.
>
>
> My point is that the code you posted can't even run, let alone
ou sure the code you sent us exactly what
> you are running?
>
> Alan g
>
> On 8 May 2018, at 10:39, Kerri Murphy wrote:
>
> My students are creating a guess my number game.
>
> They are trying to take this type of code (the flow of it), and turn it
> into a code usin
My students are creating a guess my number game.
They are trying to take this type of code (the flow of it), and turn it
into a code using a while loop.
Here is the first code
n = int(input('Guess my number: '))if (n <= 172 and n >= 174):
print('Correct')elif (n >= 174):
a = int(input('Go