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

what is the most common mascot used in division i schools?
. Cho hai lực đồng quy có độ lớn bằng 8 N và 12 N. Giá trị của hợp lực không thể là giá trị nào trong các giá trị sau đây? A. 19 N. B. 4 N. C. 21 N. D. 7 N.
nêu những biện pháp rèn luyện phù hợp để điều chỉnh thái độ cảm súc của bản thân với mọi người xung quanh tốt hơn
In criminal trials, the defense calls its witnesses first. True False
For an argumentative essay body paragraph in which the writer is trying to prove that video games cause negative physical health impacts in the form of obesity,
Need help pls will upvote
Consciousness appears to be an exclusive feature of organisms that develop civilizations. Please select the best answer from the choices provided T F.
How the heck did we go from this, to this…
test your solution in the equation 0.6+15b+4=25.6
Please help me please help help me please help me