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 many good things can you list are rights and opportunities that we have in America that Hong Kong citizens do not have?
Laurie filled a container full with water. She put 42 ounces of water in it. What is the capacity of Laurie's container?
to the one that bes:underlined growth21. The the biketime. This thesis theA. startedB.commendedC. faultedD. ended​
pleaseee answerrr ill give brainliest
What is the three adjectives for the luggage was heavy and bulky so I struggle to put through the crowded airport
Which city completes this list? Select one: Alexandria Jerusalem Harran Месса
Huilan's age is two times Thomas's age. The sum of their ages is 18. What is Thomas's age?
what are the 3 main jobs of the vice president?
Which best states the purpose of using a t-chart to prepare for writing? A. to organize ideas for comparing two topics B. to map out ideas for nonfiction writin
how do the other indian boys at school react to alexi's talent for read? what causes their reaction towards him? in the. article Sherman Alexie​