def take(self): print LINE print "You decided to go to university, so probably you have a very strong passion." print "Or maybe you are simply influenced by ideas of 'success' and 'money'." print "Either way, you must choose a subject of the following:" print "\n1) Medicine;" print "2) Computer Science;" print "3) Engineering;" print "4) Law;" print "5) Others.\n" subject = raw_input("In which subject do you graduate?" + ENTRY_ARROW).lower() check = CheckEntry(self.university_options) acceptable_entry, next_decision, statement = check.acceptable(subject) if acceptable_entry is False: return check.new_attempt() else: return next_decision, statement
def take(self): self.user_name = raw_input("What's your name? \n--> ") print "\nHi %s, welcome to LIFE DECISION TRAINER!" % (self.user_name) print "Life is the battlefield each of us must fight." print "Here you have the chance to simulate important decisions," print "those decisions that most affect the course of your life." print LINE print "You are now a 17-year-old who is approaching the end of" print "highschool and the first major life-decision..." print "What do you do after high-school?" print "\n1) Go to Univerity;" print "2) Apprenticeship;" print "3) Get a job.\n" decision = raw_input("What do you do after high-school?" + ENTRY_ARROW).lower() check = CheckEntry(self.start_options) acceptable_entry, next_decision, statement = check.acceptable(decision) if acceptable_entry is False: return check.new_attempt() else: return next_decision, statement
def take(self): print LINE print "This above is the summary of your life." print "We could see your life as a process towards the pursue of happiness." print "Looking back at your life decisions,\n" happy = raw_input("Would you consider yourself happy?" + ENTRY_ARROW).lower() check = CheckEntry(self.happiness_options) acceptable_entry, next_decision, statement = check.acceptable(happy) if acceptable_entry is False: next_decision, statement = check.new_attempt() print LINE print statement + "\n" return next_decision, statement else: print LINE print statement + "\n" return next_decision, statement
def take(self): print LINE print "You decided to committ with the love of your life. You probably are wondering" print "if it'd be nice to build a family together...\n" children = raw_input("Are you going to have kids?" + ENTRY_ARROW).lower() check = CheckEntry(self.children_options) acceptable_entry, next_decision, statement = check.acceptable(children) if acceptable_entry is False: return check.new_attempt() else: return next_decision, statement
def take(self): print LINE print "Most likely you are unemployed due to your previous life decisions." print "Considering there are high chances you are unemployed for years,\n" hobby = raw_input("Do you have any hobby to pursue?" + ENTRY_ARROW).lower() check = CheckEntry(self.unemployed_options) acceptable_entry, next_decision, statement = check.acceptable(hobby) if acceptable_entry is False: return check.new_attempt() else: return next_decision, statement
def take(self): print LINE print "Everyone has to face the natural urge of passion and love. In defining your" print "attitude towards sexual and romantic relationshps, you may drastically" print "change your life.\n" commitment = raw_input("Will you committ with someone?" + ENTRY_ARROW).lower() check = CheckEntry(self.love_options) acceptable_entry, next_decision, statement = check.acceptable( commitment) if acceptable_entry is False: return check.new_attempt() else: return next_decision, statement
def take(self): print LINE print "You have chosen the right career - the wealthy one! " print "You are now rich!" print "\n1) Donate money to charities;" print "2) Invest and/or buy proprieties.\n" donate = raw_input("Are you going to donate or to buy proprieties?" + ENTRY_ARROW).lower() check = CheckEntry(self.rich_options) acceptable_entry, next_decision, statement = check.acceptable(donate) if acceptable_entry is False: return check.new_attempt() else: return next_decision, statement
def take(self): print LINE print "You decided not to study and to start working." print "\n1) I like crafty and handy jobs;" print "2) I don't know\n" humble_job = raw_input( "Did you take this decision for any of the these reasons?" + ENTRY_ARROW).lower() check = CheckEntry(self.humble_job_options) acceptable_entry, next_decision, statement = check.acceptable( humble_job) if acceptable_entry is False: return check.new_attempt() else: return next_decision, statement