0
respostas

MINHA SOLUÇÃO

equipe_a = {t.lower() for t in {"planejar reunião", "revisar documento", "testar sistema"}}
equipe_b = {t.lower() for t in {"testar sistema", "implementar funcionalidade", "corrigir bug"}}

tarefas_combinadas = equipe_a.union(equipe_b)

tarefa_remover = input("Tarefa a ser removida: ").strip().lower()

if tarefa_remover in tarefas_combinadas:
    tarefas_combinadas.remove(tarefa_remover)
    print("Tarefa removida com sucesso.")
else:
    print("Tarefa não encontrada.")

print(f"Tarefas finais: {tarefas_combinadas}")