Beispiel #1
0
    def Do(self):
        #. pick 4 rnd objects
        # display def of 0, let user pick object,
        # or display name, let user pick def
        n = 4
        cmd = Random(self.abby, self.adjectives, n)
        layout = cmd.Do()
        
#        obj = layout.ob[0]
#        return layout

        # want to define a new layout to present data in quiz format...
        ob = layout.ob
        newlayout = Layouts.Quiz(self.abby, ob, self.properties)
        
        return newlayout