Re: [Tutor] Counting iterations of a function

2017-12-01 Thread Steven D'Aprano
On Thu, Nov 30, 2017 at 10:26:20AM -0600, Michael Dowell wrote: > Hello, I'm trying to code a magic 8-ball program and it needs to include a > counter for the number of questions asked. I'm having a hard time > implementing a count, and need a little help. I had tried to implement it > in the

Re: [Tutor] Counting iterations of a function

2017-11-30 Thread Bob Gailer
On Nov 30, 2017 12:56 PM, "Michael Dowell" wrote: > > Hello, I'm trying to code a magic 8-ball program and it needs to include a > counter for the number of questions asked. I'm having a hard time > implementing a count, and need a little help. I had tried to

Re: [Tutor] Counting iterations of a function

2017-11-30 Thread Neil Cerutti
On 2017-11-30, Michael Dowell wrote: > Hello, I'm trying to code a magic 8-ball program and it needs > to include a counter for the number of questions asked. I'm > having a hard time implementing a count, and need a little > help. I had tried to implement it in the

[Tutor] Counting iterations of a function

2017-11-30 Thread Michael Dowell
Hello, I'm trying to code a magic 8-ball program and it needs to include a counter for the number of questions asked. I'm having a hard time implementing a count, and need a little help. I had tried to implement it in the main() function, but that (naturally) led it to only counting '1' for each