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

Carly bought 3 pounds of birdseed.how many ounces of birdseed did she buy
what is the answer to2x+3=7
Comment the cost of ploughing in a square field is Rs 2450 @ Rs 2 per square meter find the length of the side of the square. Answer2A/100=2450 and A=s^2 so 2s^
Describe the experiment you would conduct to see if a duckling could imprint on a toy teddy bear.
What is the molality of a solution containing 8.0 grams of solute in 0.50 kg of solvent?
A bootlegger would have lost business after the ____
Out of 52 cards what is the probability of drawing a three of hearts
The equation [M] = mol/L represents which concentration measurement? A. molarity B. molality C. parts per million
What two states were not part of the nine needed to legally ratify the Constitution but were sought for ratification in order to ensure a strong backing of the
Maggie will come to our house in the morning. The prepositional phrase(s) is/are