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]
2 years 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]2 years 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 example of incorrect sentence structure.
Alika [10]

Answer:

The correct answer would be Paula is moving to Chicago, where winters are cold.

Explanation:

4 0
2 years ago
Read 2 more answers
Study the poster showing characters from the movie Star Wars and created by the US Department of Health, Education, and Welfare
svetlana [45]

Answer:

The answer is "The photograph shows fictional film characters, used to 'sell' immunization."

Explanation:

A testimonial is one of the most common and effective advertising techniques. You may notice that the products you've been using are endorsed by either famous celebrities or satisfied customers, giving their feedback about the product. In other cases, some promotional ads use experts' opinions about the product. These are examples of testimonials.

<em><u>In this case, the US Department of Health, Education, and Welfare use Star Wars' characters to sell the idea of immunization. </u></em>

<em><u /></em>

In 1977, the first installment of Star Wars was released, and it was a certified box office. The irony illustrates that the two characters were not human beings, but they're warning humans regarding immunization. It may sound funny, but people bought it. And it's because of the characters in the poster.

R2D2 and C3P0 were the characters used in the poster who played supporting but remarkable roles in the movie franchise. The creators of the poster took advantage of how famous these two were and cited as likeable sources since many people loved them.

3 0
2 years ago
Read 2 more answers
Which two sentences contribute to the overall eerie mood of the adapted excerpt from "The Fall of the House of Usher" by Edgar A
san4es73 [151]

Answer:

The handwriting gave evidence of nervous agitation. The writer spoke of a kind of illness--of a disorder which oppressed him--and of an earnest desire to see me.

Explanation:

4 0
2 years ago
Annie is fascinated with the book she is reading about Asian cooking. The author's descriptions are so detailed that she feels a
In-s [12.5K]

Answer:

Imagery.

Explanation:

Imagery is a literary device that refers to using figurative language to represent objects, actions, and ideas in such a way that it appeals to our physical senses. In this case, the words read by Annie made her feel as if she was actually tasting the food

3 0
2 years ago
The following poem and identify at least three of the following poetic devices: rhyme (internal or
Elodia [21]
There is definitely end rhyme in this
3 0
2 years ago
Other questions:
  • In Ernest Hemingway’s “In Another Country,” what worries the narrator about going back to the front?
    13·2 answers
  • Read Fatima’s paragraph. Having moved up north just last year, I experienced my first snowstorm this past winter. At first, the
    12·2 answers
  • how does the figurative language i paragraph 11 impact the passage as a whole in the jungle book by rudyard kipling
    15·1 answer
  • Which sentence is most clearly focused on the context of Al Gore's speech?
    10·2 answers
  • What have you learned about working with others in a formal setting that will help you be successful in group discussions? Respo
    14·2 answers
  • Which represents the author’s purpose in saying, “Dare to know! (Sapere aude) ”? to define the nature of the Enlightenment era t
    10·1 answer
  • A(n) Is a comparison over the course if a poem.
    10·2 answers
  • The book The Lord of the Rings by J. R. R. Tolkien, in which the main character must go on a journey to destroy a magic ring, is
    5·2 answers
  • 2. If Mr. Sakota had asked the woman why she came at
    11·1 answer
  • What is the relationship between crops bred for greater yields and sweet-enhancing volatiles? A Farmers have discovered they can
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!