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

3.Nonvascular plants have flagellated sperm that must swim to find the eggs. Why is this a limitation for land plants
Anyone have any website ideas I could use for my computing website project? Thank you.
Find the area of a rectangle with base of 2 yd and a height of 5 ft.
stock market Crash-These were rare before the mini-crash of March 1929. But when they did come, in the mini-crash and in the Stock Market Crash of October 1929,
Which two capitals are located in ontario, canada?.
can someone help me with this, i’m so confused.
Helen says the sum of two prime numbers is always even. patty disagrees who is correct? Explain your answer
As molecules move in a current of air or water, heat is transferred by ____________.
Read this excerpt from a speech by Susan B. Anthony, given in 1872. We throw to the winds the old dogma that governments can give rights. Before governments we
Vladimir Putin cites a long-standing relationship between Ukraine and Russia as a reason for the invasion. Which sentence from the article provides the BEST sup