<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings. > > I'm reading "How to think like a computer scientist: Learning with > Python" and there's a question regarding string operations. The > question is, "Can you think of a property that addition and > multiplication have that string concatenation and repetition do not?" > > I thought it was the commutative property but "<string>"*3 is > equivalent to 3*"<string>". Any ideas?
Go back to concatenation instead of repetition. TJR -- http://mail.python.org/mailman/listinfo/python-list