Re: [Tutor] What is this kind of loop called

2009-06-07 Thread Emile van Sebille
On 6/7/2009 6:37 PM David said... In one of my questions to this list, Kent explained to me how to use a loop like this; #!/usr/bin/python from time import sleep def get(numbers): print 'Calling ', numbers sleep(1) print 'Connected ' sleep(1) def call_numbers(): for i in r

Re: [Tutor] What is this kind of loop called

2009-06-07 Thread bob gailer
David wrote: In one of my questions to this list, Kent explained to me how to use a loop like this; #!/usr/bin/python from time import sleep def get(numbers): print 'Calling ', numbers sleep(1) print 'Connected ' sleep(1) def call_numbers(): for i in range(9549355543, 9549

[Tutor] What is this kind of loop called

2009-06-07 Thread David
In one of my questions to this list, Kent explained to me how to use a loop like this; #!/usr/bin/python from time import sleep def get(numbers): print 'Calling ', numbers sleep(1) print 'Connected ' sleep(1) def call_numbers(): for i in range(9549355543, 9549355560):