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

eight Bluefin tuna comprise 5% of the total tuna catch. How many tuna were caught in total?
What Is the Richest Country in the World?
Did Maya Angelou's uncle kill the mom's boyfriend after finding out he raped Maya or beat him to death?
how do I divide a fraction to a decimal
what is a prefix for marine
simplify as much as possible.Assume that all variables represent positive real number4x√32xv^2 + v√2x^3
What is social Darwinism and how was it tied to imperialism?
Solve the equation: -5/4n  = 40My answer choices are: A: n = -50, B: n = -32, C: n = 32, D: n = 50
Show that n^2-1 is divisible by 8,if 'n' is an odd positive integer.
eight Bluefin tuna comprise 5% of the total tuna catch. How many tuna were caught in total?