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

pls helppppppppppppppppppppppppw
Please help me answer this question please
PLEASE HELP MEEEEEEEEEEEEEEEe
In the F.I.T.T. model, which component identifies how often you should workout? A Frequency B Intensity с Time D Type
why does dillard make these allusions? what effect does she achieve?
what is the function of smooth endoplasmic reticulum ?
what do i out in for the boxes
How do I write 58 2/3 as a decimal
QUICKKKKKK PLEASE HELP!! Photosynthesis vs Cellular Respiration Where does it occur, how it similar, how is it different, where does it occur, include the chem
P: ¿Qué logró la Constitución de 1791 para los revolucionarios franceses?