Python Forum
I have no clue whats wrong...
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I have no clue whats wrong...
#1
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]
Reply
#2
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).
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 2,535 Nov-05-2022, 11:33 AM
Last Post: Mavoz
  I have no clue what I am doing wrong here elroberto 4 1,365 Jun-18-2022, 08:56 PM
Last Post: deanhystad
  Can I get a clue about testing please? Mustey 8 3,652 Apr-12-2021, 04:45 PM
Last Post: Larz60+
  Whats wrong with the elif? inunanimous93 3 2,446 Nov-30-2020, 03:58 AM
Last Post: deanhystad
  Whats Wrong!? rjay81 3 2,251 May-13-2020, 08:02 PM
Last Post: rjay81
  Can u see this code and tell whats wrong with it? AhmadKamal 14 5,293 Apr-29-2020, 11:09 AM
Last Post: jefsummers
  I haven't a clue how to implement this logic 357mag 3 2,105 Apr-02-2020, 04:35 PM
Last Post: 357mag
  python gives wrong string length and wrong character thienson30 2 2,989 Oct-15-2019, 08:54 PM
Last Post: Gribouillis
  Whats a good design/approach? hshivaraj 1 1,765 Sep-16-2019, 01:44 AM
Last Post: snippsat
  elevator simulator...whats the wrong at this code? tasos710 5 5,897 Jun-11-2019, 01:38 AM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020