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

Explain the impact of the peace movement during the Vietnam war.
Help plsss with explanation please thank you.
A jogger accelerates at a constant rate as she travels 5.0 meters along a straight track from point A to point B ,as shown in the diagram below. If her speed wa
I need help on dis question
What is the energy flow of a existing Rock to Metamorphic Rock?
The ratio of the interior angle measures of a triangle is 2 : 3 : 4. What are the angle measures?
32 million people in the labor force in 163 million total adults in a state, what is the percentage in the labor force?
can anyone help me with this?​
1. Find the distance travelled by light in one hour, given that thspeed of light is 100 000 kilometres per second.Give the answer in kilometres in standard form
Hi everyone what is yalls favorite thing to do dont say sleeping or eating say something different !!