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

राम को आम खाता है। translate in english
What does William Wordsworth mean by "my heart with pleasure fills" in the following bolded line? I wandered lonely as a cloud That floats on high o'er vales
Which of the choices below significantly undermined states rights?
which sound device is used in the first and third lines of birches by robert frost
when powering off your computer is best down using?
What was Osama bin Laden best known for?
1. "Slaves are in the power of masters, a power derived from the law of nations: for among all nations it may be remarked that masters have the power of life an
what does drowsiness affect when you drive
Descriptive words and phrases set off by commas, such as the italicized phrase in the following sentence, are called___________. Janet, a very good friend of mi
statistics question- please help and show work.