[Tutor] Can someone please help me with this?

Alex Kleider akleider at sonic.net
Thu Nov 7 06:42:01 CET 2013


On 2013-11-06 20:21, Dave Angel wrote:

> The plus operator doesn't append to the list; it makes a new one.
> Doesn't meet spec.

Right.
It seems then that one could be critical of the assignment in that it is 
requiring a function that has side effects which is something that 
should be discouraged.  To be fair, the name of the function 
('transform') does suggest that it will change something (but does not 
suggest that anything will be returned.)
Comments?



More information about the Tutor mailing list