Write a for loop to print each contact in contact_emails.


Asked by wiki @ in Computers and Technology viewed by 49 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

Predict whether the following reactions will be exothermic or endothermic

Asked by wiki @ in Chemistry viewed by 239 persons

Predict whether the following reactions will be exothermic or endothermic A) N2(g)+ 3H2(g) --> 2NH3(g) B) S(g) +O2(g) ---> SO2(g) C) 2H2O(g) ---->2H2(g) + O2(g) D) 2F(g) +F2(g) Bond H-H …

Which items in the list are methods a political party

Asked by wiki @ in History viewed by 124 persons

Which items in the list are methods a political party might use to influence public opinion? O A. A and C only O B. B and C only O C. …

When are score reports for the act writing test released

Asked by wiki @ in English viewed by 145 persons

When are score reports for the act writing test released

Number of months in a year that have 28 days

Asked by wiki @ in Mathematics viewed by 103 persons

How many months of the year have 28 days? how many months of the year have 28 days? 1 2 12 it depends on whether or not it is a …

Fading support for reconstruction was preceded by

Asked by wiki @ in History viewed by 25 persons

Fading support for reconstruction was preceded by

What was the most points scored in the super bowl

Asked by wiki @ in Mathematics viewed by 93 persons

When using the numbers of points scored in each Super Bowl from 1980 to the last Super Bowl at the time that this exercise was​ written, we obtain the following …

Which of the following things are true about alcohol advertisements

Asked by wiki @ in Social Studies viewed by 152 persons

Which of the following things are generally true about alcohol advertisements: A they have no effect on how much alcohol is consumed B they target our expectations and perceptions about …

Why it matters that teens are reading less commonlit answers

Asked by wiki @ in English viewed by 325 persons

Common lit "why it matters that teens are reading less"

The three successive phases of the general adaptation syndrome are

Asked by wiki @ in Health viewed by 138 persons

Name three successive phases of the general adaptation syndrome

Which of the following statements about puerto rico is false

Asked by wiki @ in History viewed by 122 persons

Which of the following statements about Puerto Rico is false? a. Puerto Ricans are US citizens. b. Puerto Rico has its own currency. c. Puerto Rican citizens do not vote …

Materials used to build the central pacific railroad were shipped

Asked by wiki @ in History viewed by 122 persons

Materials used to build the Central Pacific Railroad were shipped

In the stockholders equity section of the balance sheet quizlet

Asked by wiki @ in Business viewed by 113 persons

On June 30, Sharper Corporation’s stockholders' equity section of its balance sheet appears as follows before any stock dividend or split. Sharper declares and immediately distributes a 50% stock dividend. …

Amoeba sisters video recap dna vs rna and protein synthesis

Asked by wiki @ in Biology viewed by 349 persons

Amoeba sisters video recap: dna vs. rna and protein synthesis whose show is this?

Secondary can be caused by cancer treatments burns or injuries

Asked by wiki @ in Health viewed by 37 persons

Secondary ____ can be caused by cancer treatments, burns, or trauma. a. lymphangioma b. lymphedema c. lymphadenitis d. lymphadenopathy

The weighted average of the possible values of random variables

Asked by wiki @ in Mathematics viewed by 171 persons

The weighted average of the possible values that a random variable X can assume, where the weights are the probabilities of occurrence of those values, is referred to as the:\

What is the climate of the eastern coast of australia

Asked by wiki @ in Geography viewed by 96 persons

What is the climate of the eastern coast of australia?

45 45 90 and 30 60 90 triangles worksheet answers

Asked by wiki @ in Mathematics viewed by 168 persons

What is the differences and similarities between 45 45 90 triangles and 30 60 90 triangles? I have to create a venn diagram comparing the two.

Which of the following best defines the term migrant worker

Asked by wiki @ in History viewed by 227 persons

Which of the following best defines the term migrant worker? A. a person who migrates among different jobs throughout the year B. a person who sends earnings from a job …

How does bromine differ from the other halogens and nonmetals

Asked by wiki @ in Biology viewed by 49 persons

Question 18 Bromine is the only halogen and nonmetal that is normally a ____. A)gas B)liquid C)semiconductor D)solid

How do you say im on my period in spanish

Asked by wiki @ in Spanish viewed by 200 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 …

Deep v hulls operate best in what type of water

Asked by wiki @ in English viewed by 119 persons

Deep "v" hulls operate best in what type of water conditions

When two lamps are connected in series to a battery

Asked by wiki @ in Physics viewed by 191 persons

A circuit contains two lamps connected in series. What would happen to the brightness of each lamp if two more lamps were added?

What molecules make up the sides of a dna molecule

Asked by wiki @ in Biology viewed by 121 persons

What molecules make up the sides of a DNA molecule?

These are all accessory organs of the digestive system except

Asked by wiki @ in Biology viewed by 156 persons

Accessory organs of the digestive system include all the following except ___

Who are the two speakers in the poem the wanderer

Asked by wiki @ in English viewed by 159 persons

Please help!! The speaker in the wanderer believes that wisdom comes to those who are not craven, orA. CowardlyB. StudiousC. IgnorantD. FoolhardyAt one point in the pardoner's tale, the three …

Is it possible for a renewable resource to become nonrenewable

Asked by wiki @ in Biology viewed by 158 persons

How could a renewable resource become nonrenewable? A evolution B very high rate of use C naturally over time D alternative technologies

What was the purpose of newt gingrich's contract with america

Asked by wiki @ in History viewed by 114 persons

What was the purpose of newt gingrich's contract with america?

In a neon light when is the light given off

Asked by wiki @ in Chemistry viewed by 179 persons

How does the state of atoms in a neon light change when light is emitted?

Which are types of formal debates check all that apply

Asked by wiki @ in English viewed by 227 persons

Which are types of formal debates? Check all that apply. Jefferson-Madison Lincoln-Douglas parliamentary personal policy

What does a high school diploma do for a student

Asked by wiki @ in SAT viewed by 236 persons

What does a high school diploma do for a student? A.It guarantees entrance into college. B.It serves as a foundation for additional education. C.It shows colleges that the student has …

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 4475 persons


The following are ways to avoid having a collision except

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



Which internet protocol version is 100.0 0.256

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



Which item is not part of a college application everfi

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


Which one of these can connect directly to the internet

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



What makes a sequence of database operations a transaction

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


Which of the following is not true about mobile health

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



Cloud storage refers to the storage of data on

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