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

Murad dreamed of working in the fashion industry. He landed a fashion internship, but the company did not hire him when he graduated. After interviewing with 8
Please help! Will mark brainliest
I'm so lost on this work
How did the bubonic plague affect the power of the Catholic Church? People relied on the church for treatment to cure them from the disease. More people began g
Help please i'm stuck on this question​
What is the value of 2021 − 2223 + 2425 ? ?
Is a credit of $55 negative or positive ?
Question 4 of 5 Solve y3 = 125. O A. y = 15 O B. y = 25 O C. y = 5 O D. y = 11.2
There are over how many careers in healthcare? 45, 200, 20 , or 50​
The following outline could be used for which book?