syntax eror , and make a function?
**the first else isn't all right, i get an sytax eror  ????** 

   

    woordenlijst = []    
        def keuzemaken(keuze):  #function named: make choose ( choice )
        if keuze == 1:
            
            input_word = func_input_word()
            
            else:
                print(gekozen_woord)
                klopt_woord = int (input ("woord goed 1, fout 2:" ))#input voor klopt woord
                #klopt_woord = 1  # the number is correct 
                if  klopt_woord == 1:
                    
                    while gekozen_woord not in woordenlijst:
                                        
                        woordenlijst.append(gekozen_woord) #the word append to a list , for the game
                        print(woordenlijst) #printing my list
                        return keuzemaken
                    
                    else:
                        print("het woord bestaat al, kies opneiuw uw optie in de keuzemenu")
                        return keuzemaken
                        
    
            else:
                return keuzemaken
                
    def func_input_word():
        input_word =  gekozen_woord = input( "type het gekozen 6 letterig woord in : ")
        while len(input_word) < 6:
            input_word = input("type het gekozen 6 letterig woord in: ")
            if len(input_word) < 6:
                print("Too small, try again!")
            else:
                return input_word


**en i have a question , if i can change the second else and write this :**
 

    def func_again ():
       again = input ( "want to input the word again ?  yes =1 no =2 ")
       if again == 1:
            func_input_word()
       else:
            return keuzemaken

so that i can call this in the second else statement ; with the command :

    again = func_again ()


syntax eror , and make a function?
===

**the first else isn't all right, i get an sytax eror  ????** 

   

    woordenlijst = []    
        def keuzemaken(keuze):  #function named: make choose ( choice )
        if keuze == 1:
            
            input_word = func_input_word()
            
            else:
                print(gekozen_woord)
                klopt_woord = int (input ("woord goed 1, fout 2:" ))#input voor klopt woord
                #klopt_woord = 1  # the number is correct 
                if  klopt_woord == 1:
                    
                    while gekozen_woord not in woordenlijst:
                                        
                        woordenlijst.append(gekozen_woord) #the word append to a list , for the game
                        print(woordenlijst) #printing my list
                        return keuzemaken
                    
                    else:
                        print("het woord bestaat al, kies opneiuw uw optie in de keuzemenu")
                        return keuzemaken
                        
    
            else:
                return keuzemaken
                
    def func_input_word():
        input_word =  gekozen_woord = input( "type het gekozen 6 letterig woord in : ")
        while len(input_word) < 6:
            input_word = input("type het gekozen 6 letterig woord in: ")
            if len(input_word) < 6:
                print("Too small, try again!")
            else:
                return input_word


**en i have a question , if i can change the second else and write this :**
 

    def func_again ():
       again = input ( "want to input the word again ?  yes =1 no =2 ")
       if again == 1:
            func_input_word()
       else:
            return keuzemaken

so that i can call this in the second else statement ; with the command :

    again = func_again ()

