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

Karissa determines the area of her desk by multiplying 45.72 centimeters and 60.95 centimeters. She states that the area is 2786.634 square centimeters. Which b
Select all of the examples of inner listening distractions. daydreaming physical exhaustion anxiety or worry loud music or noise formulating own reply while ot
When an invertebrate reaches the _____ stage, it most likely stops growing and can begin reproduction. beginning growth adult death
Angela tells richard that he will not receive a raise unless he agrees to give her a massage. this is what type of sexual harassment
11. The Latin root -sequ- or -sec- means “to follow.” Based on this definition, what is the meaning of the italicized word sequentially in the following sentenc
A box of snacks-size cracker packs weighs 28 1/2 ounces. Each snack pack weighs 4 3/4 ounces. How many snack packs are in the box?
Two trials were conducted with these conditions: Small egg dropped from 5 m onto 1 inch foam. Jumbo egg dropped from 5 m onto 1 inch foam. What could be the
dissolve silt makes the look yellow
Why does t. brucei infection cause the symptoms that led to the term "african sleeping sickness"? 5. how is t. brucei infection diagnosed? what factors often ma
What is a drawback of a naturalistic study?