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
The terms pas de deux, arabesque, and ballet all come from the field of dance that was developed in France. What is the best exp
anastassius [24]

I think that it the second option. The words were borrowed into English along with concepts they describe. Since ballet was developed and refined in France, in order to make it more universal, the concepts and steps were given the French name. This makes it easier for everyone to come together.

Hope that helps!

7 0
2 years ago
Read 2 more answers
What can you conclude about the daughters, based on
gregori [183]

Answer:

They struggle to fit in.

They feel supported by their mother.

They embrace American culture.

Explanation:

The daughters are young girls who want to be free and experience new things. They know that their father is strict because he forbids the daughters to wander through. The character of the mother in the passage is written to describe her as an understandable woman who wants to satisfy her daughters.  She is indulgent towards her daughters.

The daughters are young, cheerful and curious, but they have struggled to fit in. From the passage, readers can see that the girls have a problem in school. They are experiencing problems socially with their peers.They want to experience a new culture, they want to go to the shopping mall or to watch a movie.

3 0
1 year ago
Read 2 more answers
Kevin, an electrical engineer, comes to work every day with a positive attitude. He has many goals, and he knows that he will ha
SVETLANKA909090 [29]

Answer:

Kevin has strong skills in D. positive work ethic.

Explanation:

People who have a <u>positive work ethic</u> embody certain principles such as the right attitude and approach towards the job, respect for other people, lively communication, reliability, constant productivity, a self disciplined character and the ability to cooperate with their collegues. Since Kevin has a positive attitude, works constantly and manages to help his collegues after he has finished his tasks, one could easily say that he has strong skills in D. positive work ethic.

4 0
2 years ago
Read 2 more answers
How do you find the mercy given by the gods to orpheus ?was it fair or not?why?​
Vilka [71]

Answer:

The mercy of the gods is unleashed when they are enchanted by the music of Ofeu. This mercy was just, since Orpheus was a very talented musician.

Explanation:

Orpheus was in love with his wife Eurydice. One day Eurydice is bitten by a snake and ends up dying. Orpheus is desolate and decides to go and fetch her in the underworld, taking his harp, in case he needed to use his talent to convince the gods Hades and Persephone to release Eurydice.

This is exactly what happens and, moved by Orpheus' talent, the gods have the mercy to free Persephone from the underworld.

7 0
1 year ago
Which of the following statements pertain to the principles of animalism? Select all that apply.
Kazeer [188]
Animalism in Animal Farm is a set of rules made by the animals and the statements that are included in the Animalism rules are that If you walk upright, you are not a friend. and <span>We like anyone who can fly.</span>
8 0
1 year ago
Read 2 more answers
Other questions:
  • In order to make sure that audiences can correctly identify your mood and attitude during speech, it is necessary to make sure y
    12·2 answers
  • Based on a comparison of the myths “The Maori: Genealogies and Origins in New Zealand” and “The Raven and the First Men: The Beg
    9·2 answers
  • Uwu please help ill give brainliest
    6·2 answers
  • At four hundred miles they stopped to eat, at a thousand miles they pitched their camp. They had traveled for just three days an
    11·1 answer
  • Use the drop-down menus to choose the pronouns that correctly replace the underlined antecedents.
    8·2 answers
  • Polonius’s character is complex in the excerpt because
    8·1 answer
  • Read the excerpts from Team Moon and the NASA article. And only now—a solid, panic-stricken, gut-wrenching, heart-palpitating te
    10·2 answers
  • To create variety, each sentence in this paragraph about sports uses a different sentence structure. Use the drop-
    14·2 answers
  • What are some examples of foreshadowing in House Taken Over by Julio Cortazar?
    15·1 answer
  • Add or remove inverted commas where appropriate. There are 6 errors to be corrected. Use only double inverted commas, e.g. “ ”
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!