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

If x/5 +6=-14,then x=
While attending a town hall meeting, you hear someone from a national energy company argue that a new natural-gas drill site will not be environmentally damagin
when did the Americans get involved in the korean war​
PLS HELP ASAP WILL GIVE BRAINLY AND 20 POINTS!!!!! What effect does the use of literary device have on the meaning of this passage ? Some people like to believe
What was happening in the south by spring of 1865?
What is inverse notation?
3 tons of dirt cost $360.00. What is the price per pound
what are the functions of the different types of RNA in protein synthesis. I need a paragraph, pls will give brainliest!!!
E-mails that rouse strong emotions like anger should always be responded to immediatelybefore the emotion wears off.true or false​
what does FBOA stand for