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
Based on this passage. what can you conclude about
DochEvi [55]

Answer:

The Correct Answer would the first choice

Explanation:

8 0
2 years ago
Read 2 more answers
How does the author organize the story "To Lotti With Love"
kompoz [17]

Answer:

The author has organised the story 'To Lotti With Love' by giving a sequential account of episodes that shaped Nancy's personality.

Explanation:

'To Lotti With Love' is a short story written by Freda Grieve. The story is titled about a note given to an actress named Lotti. The story predicates the life of Nancy, who worked on the dresses of actor's.

The author has organized the story chronologically. The Chronological form of organizing a structure is used to structure a text as per the progression of time. This progression can take place either in forward of time or backwards.

The story 'To Lotti With Love' is organized in chronological manner and records the episodes that changed Nancy's life and personality over the period of time.

3 0
2 years ago
Spell this word correctly.<br><br> kō´ mə
Fantom [35]

Answer:

come

Explanation:

6 0
2 years ago
Read 2 more answers
Directions: Each sentence has one underlined segment. If the underlined segment contains an error, choose the best correction.
Drupady [299]

Answer:

Major political problems may be first seen as minor incidents.

The Watergate episode for an example, began with the discovery of a piece of tape on the lock of an door.

It eventually led to Richard Nixon's resigning the seat of presidency in the United States.

7 0
2 years ago
Study the cartoon Modern Window Shopping by Nate Beeler.
kati45 [8]

Answer:

It is A and E.

Explanation:

I did the test on edgenuity.

8 0
2 years ago
Read 2 more answers
Other questions:
  • Although the scientist claimed to have made a major breakthrough in his research, the evidence he offered as proof of his assert
    5·2 answers
  • How are the speakers of "auspex" and "a psalm of life" similar?
    14·2 answers
  • Javed’s teacher tells him she would like to see him improve his speaking skills in the next debate by including a rhetorical app
    6·2 answers
  • Which lines in this passage are a flashback? Helen stood at one end of the room taking in all the activity; Rupert and Phoebe da
    14·1 answer
  • Which is the most reliable source for a presentation about the history of Washington, DC’s Smithsonian museums?
    8·2 answers
  • Which elements of the story make it a morality play? Support your answer with evidence from the play.
    5·1 answer
  • Order the paragraph correctly.Question 5 options:A. But the colonists had a favorable balance of trade with Spanish America—sell
    12·2 answers
  • Read the excerpt from "Save the Coral Reefs.”
    11·1 answer
  • Read the excerpt from "Georgia O'Keeffe: Modernist Pioneer."
    7·2 answers
  • Which lines from President Reagan's Address at Moscow State University contain an opinion? Select 3 options.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!