Andrey Tatarinov wrote:
 >>> print words[3], words[5] where:
 >>>     words = input.split()

- defining variables in "where" block would restrict their visibility to one expression

Then your example above doesn't work... print takes a sequence of expressions, not a tuple as you seem to think.

-Peter
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to