I've been doing some basic practice exercises for python, and so far it has been quite smooth flowing and such though I've run into a problem where the second while loop will not run. So far I've re-indented, defined the whole second and tried putting parameters on the loop where done = True, while done == True:, done = False
(later on in the code was what I previously had down but I removed it in effort to get it working.)

P.S some advice on my code would be greatly appreciated if you feel it necessary, as tbh I'm just winging it as I've been teaching myself how to code in python. I've included the first while loop too, as I figured that far down the code may be cause for the problem unknowingly.

```
import random
Olist = []
while True:
counter = 0
counter2 = 0
print("\nWelcome to exercise 05")
InH1 = str(input("\nDo you wish to continue? (y/n):"))
if InH1 == 'y':
    list1 = random.sample(range(30), 11)
    list2 = random.sample(range(30), 9)
    print("\n<><>Two random lists have been generated.<><>")
    print(list1)
    print(list2)
    max_index = len(list2)-1
    print("\n<><>Max index has been generated.<><>")
    InD = str(input("\nStart the func? (y/n):"))
    if InD == 'n':
        break
    if InD == 'y':
        while True:
            if counter2 == 11:
                print(Olist)
                InL = str(input("\nEnter any key to return to the start of the program,\
                                  or,\n enter 'q' to break the program."))
                if InL == 'q':
                    break
            if list1[counter2] == list2[counter]:
                Olist.append(list2[counter])
                counter + 1
            elif counter == 10:
                counter = 0
            else:
                counter + 1
if InH1 == 'n':
    break

```