def parent(): i=0 while True: i+=1 threading._start_new_thread(child,(i,)) print('parent.....') if input()=='q':break