[Tutor] What is this kind of loop called
bob gailer
bgailer at gmail.com
Mon Jun 8 04:08:13 CEST 2009
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, 9549355560):
> numbers = i
> get(numbers)
> call_numbers()
>
> Is there a technical name for a loop like this?
For loop? That is what I call it.
--
Bob Gailer
Chapel Hill NC
919-636-4239
More information about the Tutor
mailing list