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

Does anybody play For.tnite? Add my epic: You.tube GalixyFN ( remove the period because brainly wont let me put it) My Stats: - 630 wins - I play PC -I'm a fem
how did king henry’s advances in courts and common law lead to problems lead to heir,king john?
The taxi can take you to the airport for an extra charge find the main verb
who was the leader of the Pan-Africanist Congress and what is it about​
i need help with finding the equations for each response
An average drop of blood contains about 1.6×104 white blood cells. A rare drop of blood contains about 5×104 white blood cells. What is the difference between t
Antibodies, certain hormones, and hemoglobin are all
which of the following describes a key difference between arbitration and mediation
11. The length (L) of a rectangular picture frame is(3 times the width. If the perimeter of the picture frame is 86 inches. Select the equation or expression th
Will mark as brainlist What is the formula for the following arithmetic sequence? 12,6, 0, -6, ... A. an= 12 + (-6)(n-1) B. an= -6 + 12