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 23:00
The animal classthis class represents a an animal residing at a zoo. it has a weight (in pounds),height (in inches), a name, and a color. the methods in the class include constructors,getters, and a tostring. you will finish the implementation of these methods. referto the code documentation.1.getters: you will need to implement getter methods. these get a value (froma member variable) in the animal class. you will make a getter method toreturn each variable (weight, height, name, color). reference getname if youare having issues.2.tostring: you will need to finish the tostring method. this returns a stringcontaining information about an animal. the output string should be of theformat: ” (name) , a ( color )â’colored animal . ( weight ) pounds , ( height ) inches .\n”the height and weight are formatted to 1 decimal place. recall from lab 1how to format strings neatly using string. see the reference sectionfor more about string.format.
Answers: 2
question
Computers and Technology, 22.06.2019 03:10
This program reads a file called 'test.txt'. you are required to write two functions that build a wordlist out of all of the words found in the file and print all of the unique words found in the file. remove punctuations using 'string.punctuation' and 'strip()' before adding words to the wordlist. write a function build_wordlist() that takes a 'file pointer' as an argument and reads the contents, builds the wordlist after removing punctuations, and then returns the wordlist. another function find_unique() will take this wordlist as a parameter and return another wordlist comprising of all unique words found in the wordlist. example: contents of 'test.txt': test file another line in the test file output: ['another', 'file', 'in', 'line', 'test', 'the']
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Sports and entertainment class, your goal is to increase attendance and make a profit for a game by getting your team on a winning track with total salaries less than $3,000,000
Answers: 3
question
Computers and Technology, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
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
English, 07.10.2019 22:00
question
Mathematics, 07.10.2019 22:00
question
Chemistry, 07.10.2019 22:00
question
Geography, 07.10.2019 22:00
Questions on the website: 13722363