Re: [Tutor] Newbie Project part 2...

2007-07-15 Thread Bob Gailer
Here's a list-based alternative: tree = [ ["You have just turned 18 years old. Your life awaits,... choices to be made..", ["Army", ["win Silver star", ["reenlist", [] # next lower level... ], ["retire", [] ]

Re: [Tutor] Newbie Project part 2...

2007-07-15 Thread Tony Noyeaux
t;:"You lose an eye",\"aae":"You lose an arm",\"aaf":"You are awarded the bronze star",\"aag":"You are promoted to General",\"aah":"You ship sinks",\"aag":"You are busted out of the army"

Re: [Tutor] Newbie Project part 2...

2007-07-14 Thread Alan Gauld
"Tony Noyeaux" <[EMAIL PROTECTED]> wrote in - import random print "\t\t\t\tLife Simulator" print "You have just turned 18 years old. Your life awaits,... choices to be made.." print "\na)Army,\nb)Navy,\nc)Airforce" job=raw_input("What will u