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, 22.06.2019 20:10
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 23.06.2019 18:40
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
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
Chemistry, 18.02.2021 07:40
question
Mathematics, 18.02.2021 07:40
question
Mathematics, 18.02.2021 07:40
question
Biology, 18.02.2021 07:40
question
Mathematics, 18.02.2021 07:40