Re: [Tutor] repeat a sequence in range

2012-02-12 Thread Peter Otten
Michael Lewis wrote: > I am trying to repeat a certain sequence in a range if a certain even > occurs. Forgive me for not pasting my code; but I am not at the machine > where it's saved. > > Basically, I want to get user input and append that input to a list only > if the input is not already in

Re: [Tutor] repeat a sequence in range

2012-02-11 Thread Dave Angel
On 02/11/2012 06:22 PM, Michael Lewis wrote: I am trying to repeat a certain sequence in a range if a certain even occurs. Forgive me for not pasting my code; but I am not at the machine where it's saved. Basically, I want to get user input and append that input to a list only if the input is no

[Tutor] repeat a sequence in range

2012-02-11 Thread Michael Lewis
I am trying to repeat a certain sequence in a range if a certain even occurs. Forgive me for not pasting my code; but I am not at the machine where it's saved. Basically, I want to get user input and append that input to a list only if the input is not already in the list. I want to do this x amou