sequence multiplied by -1
Paul Rubin
no.email at nospam.invalid
Sun Sep 26 04:16:49 EDT 2010
Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> writes:
> There's nothing obscure or unintuitive about "spam"*3 = "spamspamspam",
Why would it not be ["spam","spam","spam"] or even "ssspppaaammm"?
Should "spam"*2.5 be "spamspamsp"?
Should "spam"-"a" be "spm"? What about "spamspam"-"a"?
And what about "spam"/2? "sp" be an ok first guess, but "sa" might
make more sense (it means (1,2,3,...)/2 would be (1,3,5...)).
I say it's all hokey from the get-go ;-).
More information about the Python-list
mailing list