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

A group's way of thinking, including its beliefs, values, and other assumptions about the world, is classified as material culture. a. True b. False
__________ 12. dr. jones probably agrees with the ________ theory of psychology, since he contends that humans are intelligent species due to the fact that inte
Determine from what part of the spinal column the vertebrae in the photograph comes
What are district courts in u.s. territories called?
How do you write in words 0.102
what is the unite rate for 30 litters after 8 days
There were 32 volunteers to donate blood. Unfortunately, n of the volunteers did not meet the health requirements, so they couldn’t donate. The rest of the volu
ABCD is a trapezium in which ab parallel to dc if a and b is equal to 40 what are the measures of other two angels?
Roger sperry was looking for a cure for which disease when researching differentiation of the left and right hemispheres of the brain?
The second side of a triangular deck is 5 feet longer than the shortest side and a third side that is 5 feet shorter than twice the length of the shortest side.