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

Two less than a number
What’s the answer for #5 everyone keeps putting different answers
Where was the first national ffa convention held
A car traveling at 25m/sec, stops in 0.103 km. what is the deceleration provided by the brakes?
Write complete sentences to tell what everyone does. Be sure to use the correct form of each verb. Samuel (descansar)
How does dystopian fiction present the power of fear
If a=3 cm, c=15 cm, find b in the following right triangle
CAN SOMEONE HELP ME WITH THIS??????????????
which expression is equivalent to (4x^4/2x^3)
A. He comes on feet. B. He comes on foot. Which one why?