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",
[]
]
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"
"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