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 triangle-shaped area of land made by soil deposited by a river is called a...
which of the following is not a symptom associated with hypertension
Why did most Chinese live around the river valleys of China’s east in ancient times?
Which of the following statements is an example of a metaphor? A. Her voice was like a thick velvet blanket. B. The horse hooves of rain landed loudly
What the possessive form of the word child,clown
write an essay about the declaration of independence
An ice cream factory makes 170 quarts of ice cream in 2 hours how many quarts could be made in 36 hours what was that rate per day ?
What is the slope of this graph?
The high temperature on Friday was 8 degrees above zero. The low temperature was 3 degrees below zero. Which expression can find the average temperature on Frid
How many regions or subregions are named after a specific body of water