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

solve this quadratic equation by completing the square x^2+8x=10
Reggie can do 50 pushups in one minute. If the mass that Reggie is lifting which each push-up is at 92 kg, what must also be measured in order to determine his
She spent £30 on petrol. In total how much money did she spend?
What processes can cause rock to break apart into sediment
What is -3x+y=-11 in slope-intcerper form
What is the area of the rectangle? DO NOT ROUND.
Will mark brainliest! 10 points! Write an equation for the line that is parallel to the given line and that passes through the given point. y=3x+7 ; (2,10) A y=
Number Frequency 1,400 3 1,450 7 1,500 7 1,550 5 1,600 4 1,650 2 1,700 1 What is the mode?
in the morning a farm worker packed 3 pints of strawberriesevery 4 minutes.in the afternoon she packed 2 pints of strawberries every 3 minutes,. what was the di
How is intensity VII described on the modified Mercalli scale? It causes damage to ordinary buildings. Very few people feel it. It causes total destruction. It