On Fri, Oct 2, 2015 at 10:16 AM, kirby urner <kirby.ur...@gmail.com> wrote:
> That brings up another point: once you've mastered Python's for, you also > have easy access to list, set and dict comprehension syntax. > ... and generator expression syntax, I should have added. :-D > I like Laura's ordering as well. Also, I spend some time talking about how not all callables are functions and indeed the range type is a good example. In Python 2.x, range( ) was a built-in function returning a list. By Python 3.now, range() is a type call, just as are str(), list( ), dict( ), int( ), float( ) -- these are not function calls. A function is a type of callable, not the callable type in the general sense. Kirby
_______________________________________________ Edu-sig mailing list Edu-sig@python.org https://mail.python.org/mailman/listinfo/edu-sig