From: matz@... (Yukihiro Matsumoto) Date: 2000-08-02T11:20:39+09:00 Subject: [ruby-talk:04303] Re: basic ops in some languages Hi, In message "[ruby-talk:04299] basic ops in some languages" on 00/08/01, faatdilac@my-deja.com writes: |Why the following works in Perl: | |$a = ($b = 2) * 3; | |and Ruby: | |a = (b = 2) * 3 | |but not in Python: | |a = (b = 2) * 3 Because unlike other languages, assignment is not an expression in Python. Ask at comp.lang.python for detail. matz.