answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
bixtya [17]
1 year ago
5

Contact list A contact list is a place where you can store a specific contact with other associated information such as a phone

number, email address, birthday, etc. Write a program that first takes in word pairs that consist of a name and a phone number (both strings). That list is followed by a name, and your program should output the phone number associated with that name. Ex: If the input is: Joe 123-5432 Linda 983-4123 Frank 867-5309 Frank the output is: 867-5309 ACTIVITY 10.17.1: LAB: Contact list 0/10 main.py Load default template... 1'Type your code here.'""
English
1 answer:
Gemiola [76]1 year ago
3 0

Answer:

Explanation:

s = input()

name = input()

splits = s.split(" ")

i = 0

for i in range(len(splits)):

   if(splits[i] == name):

       break

print(splits[i+1])

Output:

Joe 123-5432 Linda 983-4123 Frank 867-5309

Frank 867-5309

Process finished with exit code 0

You might be interested in
Read this excerpt from the Cherokee creation story "How the World Was Made": When all was water, the animals were above in Galûñ
deff fn [24]

Read this excerpt from the Cherokee creation story "How the World Was Made":

When all was water, the animals were above in Galûñ’lati, beyond the arch; but it was very crowded, and they wanted more room. They wondered what was below the water, and at last Beaver’s Grandchild, the little Water-beetle, offered to go and see if he could learn. He darted in every direction over the surface of the water, but could find no firm place to rest. Then he dived to the bottom and came up with some soft mud, which began to grow and spread on every side until it became the island that we call Earth. It was afterward fastened to the sky with four cords, but no one remembers who did this.

At first Earth was flat and very soft and wet. The animals were anxious to get down, and set out different birds to see if it was yet dry, but they found no place to alight and came back again to Galûñ’lati. At last it seemed to be time, and they sent out the Buzzard and told him to go and make ready for them…

When Earth was dry and the animals came down, it was still dark, so they got the sun and set it in a track to go every day across the island from east to west, just overhead…

This story contains elements of which two types of creation stories?

A) ex nihilo and world parents

B) world parents and earth diver

C) emergence and world parents

D) ex nihilo and earth diver

E) earth diver and emergence

Answer:

E) earth diver and emergence

Explanation:

A creation myth is a symbolic narrative that describes how the world came to be in existence and how the first people came to inhabit it.

Cherokee myths and legends like other myths and legends are important footprints for their civilization which notes and records how tradition was passed down from generation to generation.

In this creation legend, earth diver and emergence, how the earth came to be is narrated as it is said that it was created by creatures and creepy crawlies.

6 0
1 year ago
Samantha would have made sure Harry was here __________ were coming too.
vodomira [7]

Answer:

The correct answer is "if she had known you."

Explanation:

Hope this helps you

Do mark me as brainliest

8 0
1 year ago
Read 2 more answers
Change into indirect speech Rohan said to me," when did you arrive?"​
anygoal [31]

Answer:

Explanation:

Roshan asked me when I arrived

3 0
1 year ago
Read 2 more answers
Analyze the foot of the following phrase. Coral is far more red
alukav5142 [94]
Is it multiple choice? If so, leave the answer choices.
8 0
1 year ago
Read 2 more answers
Write a paragraph of about EIGHTY (80) words on " voluntary work"<br>​
Hunter-Best [27]

pls follow me

Explanation:

Volunteering gives you an opportunity to change people's lives, including your own. It gives you the satisfaction of playing a role in someone else's life, helping people who may not be able to help themselves. Volunteering is a way of giving back to your community while developing important social skills, and gaining valuable work experience all at the same time.If you're looking for work, volunteering is a good way to gain experience and references for your course of life. Many people work unpaid in order to gain experience in very competitive fields such as television, but some people may not describe them as volunteers.

hope it helps or then sry

6 0
1 year ago
Other questions:
  • I had a rough weekend when my cousin Orian stayed with us. He is the most negative person I've ever met. Every time I made a sug
    13·2 answers
  • Explain how to optimize the energy systems for safe and improved performance
    6·1 answer
  • Read the sentence. The judge stated that “the court cannot superimpose its opinion over the opinion of the jury.” What does supe
    8·2 answers
  • Tan argues that a creative person is multidimensional. What do you think she means by this?
    9·1 answer
  • What is the meaning of the simile “a bright girdle” in this excerpt from “Dover Beach” by Matthew Arnold? The Sea of Faith Was o
    7·1 answer
  • The football "huddle" is an example of one way accommodations are often made for the deaf in the hearing world changes for the D
    12·2 answers
  • Determine the sentence type. 1.By the age of nine, Phillis Wheatley learned to read and write English, and she became literate i
    12·1 answer
  • Which is the correct way to punctuate the sentence?
    7·2 answers
  • 10. Which of the following statements explicitly describes the character's feeling towards dogs?
    6·1 answer
  • Your friend Joel says, “I’m a klutz. I’m always tripping over my own feet!” Explain the process Joel can use to determine if thi
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!