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

[tex] \sf \bf \orange{Prove \: \bf \red{That:}}[/tex][tex]\sf\left(\dfrac{x^{a^2+b^2}}{x^{ab}}\right)^{a+b}\left(\dfrac{x^{b^2+c^2}}{x^{bc}}\right)^{b+c}\left(\
Solve the math problem No spamming
why did malcolm x wanted blacks and whites to have a separate country?
If six avocados are $4.98 how much is one avocado
Choose the base or root word for the following word. preexisting exist exist ing ing pre pre
determine if the two triangles are congruent. if they are, state how you know.
Write the expression as a monomial in standard form. (–0.2b6)35b
42.5 Quiz: The Rock Cycle WA :) The rock shown here is basalt. It has small crystals and a fine-grained texture. This sample was found near an extinct volcano.
agreement between germany austria-hungary and italy
Ozzie has a coupon for 5% off any purchase in his favorite bakery. When Ozzie stops to buy some cookies, he discovers that all cookies are on sale for 15% off t