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

How is the war in Afghanistan a drain on Soviet resources?
viết 1 đoạn văn ngắn từ 8 đến 10 câu nêu ấn tượng của anh chị về quyền lực của nhà chúa trịnh được thể hiện trong bài vào phủ chúa trịnh
The table shows the proportion of US e-commerce revenue for 2016–2018 for each day of Thanksgiving weekend. The greatest proportion of 2018 e-commerce revenue c
WILL GIVE BRAINLIEST ASAP
Pleaseeeee help!!!!!!!!
What is the largest number that has the factors of 3, 4 and 5 between 57 and 250?
we were driving …….......... the city centre when we had an accident.​
Why have courts changed their treatment of young offenders since the early 1900s? A. They have determined that young offenders should receive no special treatme
Which of the following holds the least amount of carbon? Oceans Glaciers Plants Soil
biological term for control of the body temperature​