Andy Dingley wrote:
> The purpose of range() in Python is as loop control,

No, the purpose of range() is to create a list, as the docs state.

http://docs.python.org/lib/built-in-funcs.html

"""
range(...) - This is a versatile function to create lists containing
arithmetic progressions.
"""

Stefan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to