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

Why did tensions between the us and the soviet union become so great after world war ll
How do I solve this, and what is the answer? please and thank you.
Which expression is equivalent to 8(a-6) a. w>36 b w<36 c.w>5 d.w<5
What role did Andrew Carnegie play in bog business
alice wants to build a fence around her garden. which is 82 feet long and 36 feet wide . how much fencing will she need?
is the decimal equivalent to 9/4 a repeating decimal?
HURRY ANSWER THIS AND I WIL GIVE YOU BRAINLEST!!!! Malia solved an equation, as shown below: Step 1: 6x = 48 Step 2: x = 48 – 6 Step 3: x = 42 Part A: Is Malia'
PLZ HURRY IT'S URGENT!!!!!! What is 0.019 written as a percent? A. 0.00019% B. 0.019% C. 0.19% D. 1.9%
What is the probability of spinning a B?
There are six minutes of commercials for every 25 minutes with Olivia how many moves of commerce who are the one hour 36 minutes of television