Gary Herron a écrit : > Tom_chicollegeboy wrote: >> here is what I have to do: >> >> This question involves a game with teddy bears. The game starts when I >> give you some bears. You then start giving me back some bears, but you >> must follow these rules (where n is the number of bears that you >> have): >> > This sounds very much like a homework assignment,
Indeed. > and so should probably > not be answered here. (Neither should it have been asked here.) If, > in your attempt to write this program, you have some questions about > Python, then I encourage to ask those questions here. Garry, you should have read the whole post before answering. The OP's attempt at solving the problem was below, along with the question. (snip) -- http://mail.python.org/mailman/listinfo/python-list