[Python-Dev] Re: accumulator display syntax
Guido van Rossum
guido at python.org
Tue Oct 21 13:04:14 EDT 2003
More information about the Python-Dev mailing list
Tue Oct 21 13:04:14 EDT 2003
- Previous message: [Python-Dev] Re: Re: accumulator display syntax
- Next message: [Python-Dev] accumulator display syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> What about: > > result + x**2 from result = 0.0 for x in S > > Essentially short for: > result = 0.0 > for x in S: > result = result + x**2 You're kidding right? --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Re: Re: accumulator display syntax
- Next message: [Python-Dev] accumulator display syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list