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

Which statement accurately describes the ways culture changes? Group of answer choices
Greatest common factor of 21,28
how can you translate PIOVE A CATINELLE?​
Wyatt Earp became a marshal in Wichita, Kansas, on April 21, 1875. He earned his reputation in Wichita as a fearless lawman. He once faced down a mob of nearly
Graph Y=3x+4 please urgent
Different between accurate and procession measurements ​
What does morally reprehensible mean?
What is meant by the word serving size?
Tell me what is 12+x=5
Which phrase best defines “annotated bibliography”? a bibliography that is typed on expensive paper with a specified font a summary and evaluation of each poten