sum(strings)
Steve McAllister
nosp at m.needed
Thu Jun 19 12:14:01 EDT 2003
More information about the Python-list mailing list
Thu Jun 19 12:14:01 EDT 2003
- Previous message (by thread): sum(strings)
- Next message (by thread): sum(strings)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Python is not Perl! If you need to build the sum over a sequence of > strings containing numbers > then you need to convert them to numbers. I am talking about sum(['x', 'y']) -> 'xy'. Since strings can be added, they should be sumable too. No? :-)
- Previous message (by thread): sum(strings)
- Next message (by thread): sum(strings)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list