Write a for loop to print each contact in contact_emails.


Asked by wiki @ in Computers and Technology viewed by 155 People


Write a for loop to print each contact in contact_emails. Sample output for the given program:

[email protected] is Mike Filt
[email protected] is Sue Reyn
[email protected] is Nate Arty
Code:
contact_emails = {
'Sue Reyn' : '[email protected]',
'Mike Filt': '[email protected]',
'Nate Arty': '[email protected]'
}
for email in contact_emails:
print('%s is %s' % (email, contact_emails(email)))

Answered by wiki @



In this exercise we have to use the knowledge of programming in python code  to describe a looping so we have the code.

The code can be found in the attached image.

How to loop a code?

Repeat commands are a feature that allows a certain piece of code in a program to be repeated a certain number of times. In C there are three repetition commands: while, do-while and for.

See more about python at brainly.com/question/26104476


Do you know the better answer?

Similar Questions

How do the actions of opec impact interdependence between nations

Asked by wiki @ in Social Studies viewed by 160 persons

How do the actions of opec impact interdependence between nations

What is the difference between accounting profit and economic profit

Asked by wiki @ in Business viewed by 195 persons

What is the difference between accounting profit and economic​ profit? A. Economic profit only subtracts implicit costs from total​ revenue, while accounting profit only subtracts explicit costs. B. Economic profit …

Use each pair of vocabulary words in a single sentence

Asked by wiki @ in History viewed by 205 persons

? use each pair of vocabulary words in a single sentence.?

Who is considered to be the father of the hebrews

Asked by wiki @ in Social Studies viewed by 171 persons

Who is considered to be the "Father of the Hebrews"? A) Abraham B) Jesus C) Mohammad D) Moses

Explain how nondisjunction can lead to aneuploidies

Asked by wiki @ in Biology viewed by 173 persons

Explain how nondisjunction can lead to aneuploidies

What were two consequences of the french and indian war

Asked by wiki @ in History viewed by 196 persons

What were two consequences of the French and Indian War? a. Britain gained territory and increased the nation's debt. b. France gained territory and established new Indian alliances. c. Indians …

The size of a bees nest increases as time passes

Asked by wiki @ in Mathematics viewed by 186 persons

The size of a bee’s nest increases as time passes. Your friend says that time is the dependent variable because size depends on time. Is your friend correct?

Energy from food must be transformed into the bonds of

Asked by wiki @ in Biology viewed by 235 persons

Energy from food must be transformed into the bonds of _________ before it can be used by cells.

2 words that sound the same but have different meanings

Asked by wiki @ in English viewed by 226 persons

Words that sound alike but have different meanings are called ? A. antonyms. B. synonyms. C. homonyms. D. heteronyms.

Francine is interested in starting a new financial services company

Asked by wiki @ in Business viewed by 285 persons

Francine is interested in starting a new financial services company where she will manage the investments of others. she wants to generate her own funding as well as lead the …

What are the magnitude and direction of the integer 58

Asked by wiki @ in Physics viewed by 135 persons

A 58-kg boy swings a baseball bat, which causes 0 0.140-kg baseball to move toward third base with velocity f 38.0 m/s. Calculate the kinetic energy of the baseball(rounding your …

How do you say im on my period in spanish

Asked by wiki @ in Spanish viewed by 310 persons

1) How would you say "in second period" in spanish? en el sexto hora en la sexta hora en el segundo hora en la segunda hora 2) how would you …

Under the constitution political rights protect the freedoms of

Asked by wiki @ in History viewed by 210 persons

Under the constitution, political rights protect the freedoms of citizens accused of a crime. Elected representatives. Every american citizen. State and national officials.

Which statement best completes the diagram

Asked by wiki @ in History viewed by 310 persons

Which statement best completes the diagram?

Which of the following groups supported the abolition of slavery

Asked by wiki @ in History viewed by 438 persons

Which of the following groups supported the abolition of slavery? northern business elites southern planter elites wage workers middle-class northerners

Which of the following is most important regarding team communication

Asked by wiki @ in Health viewed by 275 persons

50 Types of Communication Answer the following questions. 1. The grouping of gestures, facial expressions, and postures into nonverbal statements is known as ___. ☐ Clustering ☐ Kinesics ☐ Telekinetic …

Which sea creature are known to hold hands while sleeping

Asked by wiki @ in Social Studies viewed by 107 persons

Which sea creatures are known to hold hands while sleeping?.

A national manufacturer of ball bearings is experimenting with two

Asked by wiki @ in Mathematics viewed by 209 persons

A national manufacturer of ball bearings is experimenting with two different processes for producing precision ball bearings. It is important that the diameters be as close as possible to an …

What is used to show elevation on a topographic map

Asked by wiki @ in Biology viewed by 251 persons

Which items are used to show elevation, relief, and slope on a topographic map? Check all that apply. topographic lines contour lines index contours topographic symbols contour interval topographic interval …

Triangle abc is similar to triangle def

Asked by wiki @ in Mathematics viewed by 188 persons

If triangle ABC is similar to triangle DEF, then what is the value of x? Triangle A B C and triangle D E F are drawn. Side A C is …

What time period does to kill a mockingbird take place

Asked by wiki @ in English viewed by 257 persons

In what time period is To Kill a Mockingbird set?

Why is spot training a myth

Asked by wiki @ in Health viewed by 91 persons

Why is spot training a myth? A. Exercise only burns fat in specific body regions. B. Weight training strengthens muscles but does not burn fat. C. The results of spot …

Name four values of b which make the expression factorable

Asked by wiki @ in Mathematics viewed by 278 persons

Name four values of b which make the expression factorable: x^2 - 3x + b

Why is a shell considered to be biotic

Asked by wiki @ in Biology viewed by 101 persons

Why is a shell considered to be biotic?

The landlord requested that john move out of the apartment

Asked by wiki @ in English viewed by 114 persons

Identify the subjunctive verb in each sentence below. The landlord requested that John move out of the apartment.a. requestedb. move​

The seneca falls convention of 1848 was mainly concerned with

Asked by wiki @ in History viewed by 201 persons

The Seneca Falls Convention of 1848 was the single-most important event of the early women's suffrage movement. The suffrage movement grew out of centuries of shameful and unfair treatment of …

Assisted living can be thought of as a combination of

Asked by wiki @ in Biology viewed by 90 persons

Assisted living can be thought of as a combination of: select one: a. hospital care and independent living. b. nursing home care and independent living. c. kinship care and hospital …

What is the value of f 1

Asked by wiki @ in Mathematics viewed by 95 persons

What is the value of f(1)?

Find the area of the shaded region of a square

Asked by wiki @ in Mathematics viewed by 219 persons

A circle is enclosed in a square. Find the area of the shaded region. Use pi = 3.14 10m O 25 sq. cm. 100 sq. cm O 78.5 sq. cm …

Drag the labels to their appropriate locations in this diagram

Asked by wiki @ in Biology viewed by 119 persons

Drag the labels to their appropriate locations in the flowchart below, indicating the sequence of events in the production of fragment B. (Note that pol I stands for DNA polymerase …

Most viewed questions in Computers And Technology


A customer wants to increase the storage capacity by 25gb

Asked by wiki @ in Computers and Technology viewed by 4841 persons


The following are ways to avoid having a collision except

Asked by wiki @ in Computers and Technology viewed by 1774 persons



Which internet protocol version is 100.0 0.256

Asked by wiki @ in Computers and Technology viewed by 1464 persons



Which item is not part of a college application everfi

Asked by wiki @ in Computers and Technology viewed by 1251 persons


Which one of these can connect directly to the internet

Asked by wiki @ in Computers and Technology viewed by 1244 persons



What makes a sequence of database operations a transaction

Asked by wiki @ in Computers and Technology viewed by 1189 persons


Which of the following is not true about mobile health

Asked by wiki @ in Computers and Technology viewed by 1139 persons



Where is the resume document located in this file structure

Asked by wiki @ in Computers and Technology viewed by 1055 persons


Cloud storage refers to the storage of data on

Asked by wiki @ in Computers and Technology viewed by 846 persons