RE: [Python] Guess your number 02-14-2013, 12:49 AM
#21
Not bad as the old saying goes there's more than one way to skin a cat the only thing is you got
the wrong way around it should be:
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
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]](http://goo.gl/klfpJD)
Probitcoin
Freebitcoin
BTC clicks
bitcoin wallet:
1FBPAanbs3rJU9BUpobpDJc9hHUaCaC25N
Probitcoin
Freebitcoin
BTC clicks
bitcoin wallet:
1FBPAanbs3rJU9BUpobpDJc9hHUaCaC25N