Crie um programa em Python para implementar uma agenda que guarda registros com os campos: CPF (inteiro), nome (string), telefone (string) em um arquivo chamado agenda.txt. O programa deve conter três funções (para executar as operações solicitadas), além da função principal que disponibiliza as opções (adicionar registro, apagar registro e listar amigos).
The program creates a file named agenda.txt with a agenda that stores registers with the fields: CPF (int), name (string), phone(string). The program should have three functions (to execute the required operations), besides from the main function that makes the options available (to add, delete and list registers).