Python Forum

Full Version: I have no clue whats wrong...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
1) code tags help us actually see your code (they preserve whitespace).
2) If you're getting an error, share the error.  Otherwise, we're guessing what the problem is.  ...which is even harder when the code isn't runnable (which yours isn't).