guessthenumber print games left

eschneider92 at comcast.net eschneider92 at comcast.net
Thu Apr 11 01:41:13 EDT 2013


(Didn't mean to post the last bit.) Is this possibly what you meant? If it is I still can't figure out how to apply it to the guessthenumber program. 
numberofgames=1 
while numberofgames<4: 
    numberofgames=numberofgames+2
    print (4-numberofgames)
    if numberofguesses>3:
        print(numberofgames)



More information about the Python-list mailing list