Ejemplo n.º 1
0
 def brainstorm(self):
     add = inp("Would you like to add any actions you can think of now? [y/n]",["x in 'yn'"])
     while add == 'y':
         create_action()
         add = inp("Anything else? [y/n]",["x in 'yn'"])
Ejemplo n.º 2
0
 def checkweek(self, day):
     week(day)
     add = inp("Anything to add? [y/n]", ['x in "yn"'])
     while add == 'y':
         create_action()
         add = inp("Anything to add? [y/n]", ['x in "yn"'])