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

What is 286,713 rounded to nearest ten thousand?
read the last 10 words of the poem you may observe a change in the tone what is that about​
Activity Answer the questions below to analyze William Blake’s poem “The Chimney Sweeper.” Part F The poem was written in 1867. How does that fact affect the me
It is possible to make a model of a fission chain reaction with mousetraps and table tennis balls, with the balls placed on an armed trap. Which statement best
what type of figurative language is this sentence My soul clad in gorgeous things,Scarlet and gold and blue;
Jevonte left his house at time zero and drove for 5 minutes to the store, at a speed of 2 blocks per minute. Then he stopped and went into the store for 2 minut
Bacteria cultures that have been allowed to undergo fermentation have been used commercially for centuries in the production of _____ . rice yogurt grape juice
Male and female high school students reported how many hours they worked each week in summer jobs. The data are represented in the following box plots Identify
LIST THE BEST 10 UNIVERSITIES IN THE United Kingdom.
Use the map below to answer the question. Which of the following would be used to find a location on the map pictured?