import threading


def funcao1():

    for _ in range(5):

        print("Função 1")

        

def funcao2():

    for _ in range(5):

        print("Função 2")


# Crie duas threads

thread1 = threading.Thread(target=funcao1)

thread2 = threading.Thread(target=funcao2)


# Inicie as threads

thread1.start()

thread2.start()


# Aguard até que ambas as threads terminem

thread1.join()

thread2.join()


print("Programa principal concluído")