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

15. The Uber vehicle travels for 6 hours at 75 mph. The Lyft vehicle travels for 8.5 hours at an average 62 n Which driver covers more distance? b) How far does
the starting point for preparing the operating activities section using the indirect method is ______.
!!!ANSWER QUICKLY PLEASE!!! Please look at the screenshot below
In "Achieving Your Goals," the author writes, "Imagining a goal takes courage and creativity, and acting on it takes determination and hard work. Whether or not
What is invasive spices and is it dangerous?
What were some push and pull factors that caused people to migrate from the mid-wrest to the west?
Some easy points points you ​
What is the correct answer?
6 List Choose one mineral, one rock, and one fossil fuel. List an example and a use for each.
16. Keeping body fatness within the good fitness zone during your childhood and teen years will help you keep body fat levels A In check your entire life B high