Write a program that receives as many entries as you want and then create a new contact for each entry (Name, Phone, Address, Email), and Finally, print the contact list in alphabetical order:
Nomes = []
Telefones = []
Endereços = []
Emails = []
Agenda = {"Nome": Nomes,"Telefone":Telefones,"Endereço":Endereços, "Email": Emails}
entrada = ""
while entrada != "s":
print("Bem-vindo a nossa Agenda!!!!!")
nome = input("Digite o nome: ")
Nomes.append(nome)
telefone = input("Digite o telefone: ")
Telefones.append(telefone)
endereço = input("Digite o endereço: ")
Endereços.append(endereço)
email = input("Digite o email: ")
Emails.append(email)
print(Agenda)
entrada = input("Deseja sair? ")
if entrada.lower() == "s":
print(Agenda)
break
The calendar is a dictionary and it has no sort! How can I print the address book in alphabetical order of names, followed by other information (Phone, Address, Email)?