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

-x + 48 = 17 what os the value of x
If f(x) = x + 1 and g(x) = 2x - 7, which expression is equivalent to [fog|(3)?
HELP ME PLSSSS The Wheel Shop sells other kinds of vehicles. There are bicycles and go-carts in a different room of the shop. Each bicycle has only one seat and
Walker Company prepares monthly budgets. The current budget plans for a September ending merchandise inventory of 27,000 units. Company policy is to end each mo
26) Which of these equations is parallel to -3x - y = 1? A) y 12 x – 5 3 B) y = 3x + 4 C) y = -3x 1 D) y = x + 1
An office supply company produces yellow document envelopes. The envelopes come in a variety of sizes, but the length is always 5 centimeters more than double t
One way to measure ionization energies is ultraviolet photoelectron spectroscopy (UPS, or just PES), a technique based on the photoelectric effect. In PES, mono
help me out besties this is due in an hour
Please help!! Thankssss
how have courtship and marriage changed?