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

how much interest is earned on $583 at 8% for 6 years
You need change for the till.  You are given £10 worth of 20p coins.  How many 20p coins is this?
Bill's baseball bag weighs 4 lb if you take sat two pairs of cleats that weighs 6 ounces each how much will his bag weigh
Help please as soon as possible
An event staged specifically to attract public attention is a:
what are everyday energy transformations that occure with solar energy?
[Edna] stretched her strong limbs that ached a little. She ran her fingers through her loosened hair for awhile. She looked at her round arms as she held them s
Which war production bored programs provided assistance during the war
Identify the italicized word according to its class in structural linguistics. I do not know what to say. its the word not
Helpppppppppppppppppp