why does
[color=blue][color=green][color=darkred]
>>> ''.join(lst)[/color][/color][/color]
not automatically do
[color=blue][color=green][color=darkred]
>>> ''.join([str(i) for i in lst])[/color][/color][/color]
? That is, is there ever a time when one does not want .join to make
everything into a string? This seems like reasonable default behavior, but
maybe I'm missing something?
-doug
[color=blue][color=green][color=darkred]
>>> ''.join(lst)[/color][/color][/color]
not automatically do
[color=blue][color=green][color=darkred]
>>> ''.join([str(i) for i in lst])[/color][/color][/color]
? That is, is there ever a time when one does not want .join to make
everything into a string? This seems like reasonable default behavior, but
maybe I'm missing something?
-doug
Comment