[Tutor] simple arg problem

Keith Winston keithwins at gmail.com
Sat Jan 4 03:53:51 CET 2014


I'm trying to rewrite/reshuffle my Chutes & Ladders code, which I generally
find more confusing than writing anew.

Anyway, I've got a method that seems like it calls for one argument but...

    def populate(self, gamecount1):
        """populate candl_array with a set of games"""

(method of a new class CandL_Array, which contains a list called
candl_array)

Every time I run it with


-- 
Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140103/67a2ebe3/attachment.html>


More information about the Tutor mailing list