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

You make $750 and 24% is taken out for taxes. How much are the taxes?
The perimeter of a park is 0.251 meters the actual perimeter of the park is 1,000 times as large what is the actual perimeter of the park
An anhydrous (water removed) salt has a formula mass of 160.167 g/mol. If the hydrated version of the salt has 8 mol of water associated with it, what is the ma
48% of what number is 24? im being timed.... will make brainliest
2x+3x-6=78 what is x
Cheetahs are one example of a population that has very limited genetic variation. Which of the following groups of animals are most likely to have a limited var
What is the volume of this cylinder?Use ​π ≈3.14 and round your answer to the nearest hundredth.
The type of stress that is considered a necessary part of life because it activates and motivates people to achieve their goals and succeed in life's challenges
Rewrite the following mix numbers 13/10
What is 6b plus 7b subtract 19