----- Original Message ----- > From: "Chris Angelico" <ros...@gmail.com> > > c1 = Circle((0,0), 10, None) > > print c1.mass > > 20 > > c1.radius = 20 > > print c1.mass > > 40 > > I think that juuuuuust miiiiight count as scope creep :) > ChrisA
Here you go :p c1 = Circle((0,0), 10, None) print c1.mass 20 c1.grow(+10) print c1.mass 40 JM -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. -- https://mail.python.org/mailman/listinfo/python-list