On Tue, 19 Jul 2016 13:06:39 +1000, Steven D'Aprano wrote: > On Tue, 19 Jul 2016 06:20 am, alister wrote: > >> I suggest next time you stay awake during lessons. > > That's an uncalled for nasty comment. You don't know the O.P's issues or > why he is having difficulty.
because he has failed to provide any context. the question as phrased looks exactly like a homework question a tutor would set after a lesson introducing classes -- If you keep anything long enough, you can throw it away. -- https://mail.python.org/mailman/listinfo/python-list