[Tutor] eazy python question involving functions and parameters

Alan Gauld alan.gauld at btinternet.com
Mon Sep 21 22:18:42 CEST 2009


And to remove all doubt....

wesley chun wrote:
> again, the easiest way to differentiate b/w the 2 is whether or not it
> results in some Python object. if it doesn, it's an expression; if
> not, it's a statement.

Should say ... if it does, it's an expression....

You'll find my explanation of expressions in the Functional Programming 
topic in the advanced section of my tutor.

Alan G
http://www.alan-g.me.uk



More information about the Tutor mailing list