Kirby writes -

>I was thinking of Arthur's suggesting to reinforce the distinction between 
>'print' and 'return'. 

The only thing I recall is an exchange with John Brawley that I reported here.

If I remember correctly, he was creating a VPython sphere in a fucntion, 
assigning a variable to the
function call, and couldn't unerstand why he was getting an attribute error 
when trying to
change the sphere's color.

It was simply a matter of explaining to him that since he was not explicity 
asking the function to return
anything, it was returning Nothing - which is Something.  So that the Something 
which he was trying to color was actually exactly the  Nothing Something. Not 
the Sphere Something.

;)

Art




_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to