DodiBoiJesus3569 DodiBoiJesus3569
  • 03-07-2021
  • Computers and Technology
contestada

Write a simple nested loop example that sums the even and odd numbers between 5 and 15 and prints out the computation.

Respuesta :

temdan2001
temdan2001 temdan2001
  • 03-07-2021

Answer:

for e in range(6, 15, 2):

for o in range(5, 15, 2):

calc = e+o

print(e, "+", o, "=", calc)

Explanation:

Answer Link

Otras preguntas

The axons of the retina culminate in the ___ nerve which forms a ___ spot on the retina.
The mean percentage of a population of people eating out at least once a week is 57% with a standard deviation of 3.5%. Assume that a sample size of 40 people w
Why did it take more than a week for the news of President Lincoln’s assassination to reach Britain?
which of the following is a complex sentence
Why did the narrator and yuchin stop writing letters? yuchin came to the united states. the narrator returned to china. they began to use e-mail. it took ten da
The standard guidelines for fluid intake recommend that a 10dash​20-kg child should have 1000 mL of fluid plus 50 mL for each full kilogram of body weight over
What type of bond would occur between carbon (C) and nitrogen (N)? A. Metallic bond B. Ionic bond C. Paired bond D. Covalent bond
The stem and leaf plot below shows the number of points scored in each basketball game a team played during a season in how many games were more than 40 points
How many moles of carbon dioxide will form if 5.5 moles of C3H8 is burned
Someone want to help me with some Geometry?