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

please HELP!!! this is my final grade pleaseidentify the fallacy in the following example:"Candidate X doesn't have children, so she doesn't understand family v
Please help me out if possible.
What is a possible effect of an error during transaction?
What is the vertex of the quadratic function f(x) = (x - 3)(x - 2)?
Use the equation given below to help you determine Which statement best describes how you find the net change in an your answer. X-4-5+6-13 Select one A. Whe
Refer to Explorations in Literature for a complete version of this interview. In "Interview with Simon Ortiz," Ortiz describes "a worldwide phenomenon of third-
i need help can someone give me a good answer?
Election reflect questions ConcordTV: what are the major political parties? How do they affect elections? ConcordTV: which issue do you think was the most impor
x-2y+3z=-2 6x+2y+z=-48 x+4y+3z=-38
Plz help me out will mark as brainliest!!! Don’t copy anybody else’s answer 40 points