Sep-28-2017, 05:49 AM
I have no clue what I've done wrong but its giving me trackback errors when I run the man player type, and I have no clue whats gone wrong can anyone give me some help?
Here is the code so far...
def main_man():
races1: ['Breton', 'Imperial', 'Nord', 'Redguard']
races1_choose == int(input('[0] Breton /n[1] Imperial \n[2] Nord \n[3] Redguard \nWhich racce are you? \n'))
print('Oh so your a man who is a', races1_choose ,'...')
def man():
print('Selected man...')
ok_1 = input('Are you ok with this choice? \ny/n \n')
if ok_1 == 'y':
main_man()
else:
game()
def mer():
print('Selected mer...')
ok_2 = input('Are you ok with this choice? \ny/n \n')
if ok_2 == 'y':
main_mer()
else:
game()
def beastfolk():
print('Selected beastfolk...')
ok_3 = input('Are you ok with this choice? \ny/n \n')
if ok_3 == 'y':
main_beastfolk()
else:
game()
def game():
race1: ['Man', 'Mer', 'Beastfolk']
race1_choose = input('[0] Man \n[1] Mer \n[2] Beastfolk \nWhat race type are you? \n')
if race1_choose == '0':
man()
if race1_choose == '1':
mer()
if race1_choose =='2':
beastfolk()
game()[/size]
Here is the code so far...
def main_man():
races1: ['Breton', 'Imperial', 'Nord', 'Redguard']
races1_choose == int(input('[0] Breton /n[1] Imperial \n[2] Nord \n[3] Redguard \nWhich racce are you? \n'))
print('Oh so your a man who is a', races1_choose ,'...')
def man():
print('Selected man...')
ok_1 = input('Are you ok with this choice? \ny/n \n')
if ok_1 == 'y':
main_man()
else:
game()
def mer():
print('Selected mer...')
ok_2 = input('Are you ok with this choice? \ny/n \n')
if ok_2 == 'y':
main_mer()
else:
game()
def beastfolk():
print('Selected beastfolk...')
ok_3 = input('Are you ok with this choice? \ny/n \n')
if ok_3 == 'y':
main_beastfolk()
else:
game()
def game():
race1: ['Man', 'Mer', 'Beastfolk']
race1_choose = input('[0] Man \n[1] Mer \n[2] Beastfolk \nWhat race type are you? \n')
if race1_choose == '0':
man()
if race1_choose == '1':
mer()
if race1_choose =='2':
beastfolk()
game()[/size]