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

brainliest if you are correct
Help pls Shanti is taking a cube-shaped gift to a friend's birthday party. She wants to wrap it but she doesn't have very much paper, so she does not overlap an
Name one contemporary justice/social justice issue that Reform Judaism is can't solve in today's world?
Why the pulse is clearer in wrist than in ankles?
Which is a function of the cardiovascular system? to move water to eliminate waste from the body to provide structural to transport gases support for the body t
A restaurant has 5 appetizers, 6 entrees and 1 desserts. How many different meal combinations could you order?
I don't understand may you please help?
Which represents the explicit formula for the arithmetic sequence on = 7 - 3(n - 1) in function form? f(n) = 3n - 6 B f(n) = -3n - 6 f(n) = 3n - 10 D f(n) = -3n
Write an equivalent expression for 3x + 21
factor the polynomial below completely. z^2 + 9z + 20