subject

Hello PLS, HELP ME. so I wrote a code for Python and it's all correct but I have to connect it and I'm not sure how.
Pls actually help and not put a random answer.
adress = {}
def Update():
contact = input("Name: ")
info = input("What is the phone number/email: ")
adress[contact] = info

def Display():
for contact, info in adress. items():
print(contact)
print(info)

def Search():
who = input("Who do you want to search for?")
for contact, info in adress. items():
if who == contact:
print(info)

def Delete():
deletewho = ("Who do you want to delete? ")
for contact, info in adress. items():
if deletewho == contact:
del adress[deletewho]

def actions():
print("Address book to store friends contact")
print("-" * 40)
print("-" * 40)
print('''Select an option...
1 - Add/Update contact...
2 - Display all contacts...
3 - Search...
4 - Delete contact...
5 - Quit''')
actions()

ANSWER = int(input("What do you want to do"))
if ANSWER == 1:
print("Okay")
elif ANSWER == 2:
print("Okay")
elif ANSWER == 3:
print("Okay")
elif ANSWER == 4:
print("Okay")
elif ANSWER == 5:
print("Okay")

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:30
Sara is writing a program to input her monthly phone bills and output the month name and amount for the month with maximum amount. she has defined an array to hold the month names. complete the pseudocode program. [6] # program to output maximum month's phone bill monthname ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"] # define an array to hold the phone bills for each month
Answers: 1
question
Computers and Technology, 21.06.2019 22:50
Before you enter an intersection on a green light make sure
Answers: 2
question
Computers and Technology, 22.06.2019 14:30
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quic which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
You know the right answer?
Hello PLS, HELP ME. so I wrote a code for Python and it's all correct but I have to connect it and...
Questions
question
Mathematics, 16.10.2020 22:01
question
Mathematics, 16.10.2020 22:01
question
Mathematics, 16.10.2020 22:01
question
Chemistry, 16.10.2020 22:01
Questions on the website: 13722363