Login Register






[Python] Guess your number filter_list
Author
Message
RE: [Python] Guess your number #20
Not bad as the old saying goes there's more than one way to skin a cat the only thing is you got
Code:
if x == 'h': high = ans elif x == 'l': low = ans

the wrong way around it should be:
Code:
if x == 'h': low = ans elif x == 'l': high = ans

It's always nice to see other people's aproach to somthing though


EDIT

disregard that I see what you did now you mean state if he guess was low or high no he direction the program needs to go
If you need help feel free to PM me
[Image: klfpJD]
Probitcoin
Freebitcoin
BTC clicks
bitcoin wallet:
1FBPAanbs3rJU9BUpobpDJc9hHUaCaC25N

Reply





Messages In This Thread
[Python] Guess your number - by chmod - 02-09-2013, 02:18 PM
[Python] Guess your number - by chmod - 02-09-2013, 02:18 PM
[Python] Guess your number - by chmod - 02-09-2013, 02:18 PM