Add and delete a contact?

How add alternately to the contacts list a given number of people in the room, ask them first and last_name, and immediately delete these contacts from list? So, you can run the script and enter the required data, not to register them each time in the code
April 7th 20 at 15:35
1 answer
April 7th 20 at 15:37
list1 = []
while True:
 user = input("Enter the number first and last_name")
 if user:
 list1.append(user)
Me in need telethon - Jairo_Pouro commented on April 7th 20 at 15:40
@green_King, Well, this is the first method to add, using as input said request and input, then the method of removal. - Mozell.Connel commented on April 7th 20 at 15:43

Find more questions by tags PythonTelegram