pre-PEP: Print Without Intervening Space
Marcin Ciura
ciuraNOSPAM at zeus.polsl.gliwice.pl
Sat Mar 12 09:22:38 EST 2005
More information about the Python-list mailing list
Sat Mar 12 09:22:38 EST 2005
- Previous message (by thread): pre-PEP: Print Without Intervening Space
- Next message (by thread): pre-PEP: Print Without Intervening Space
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steve Holden wrote: > You could think about teaching them the linelist.append(fn(x)) way, > which then gives you the choice of > "".join(linelist) - no gaps > "\n".join(lienlist) - one item per line > " ".join(linelist) - spaces between items. Sure I will. Next week, when we come to list operations. .join() they already know. I just couldn't use this approach at the very beginning. Thanks to all who responded. Regards, Marcin
- Previous message (by thread): pre-PEP: Print Without Intervening Space
- Next message (by thread): pre-PEP: Print Without Intervening Space
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list