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

Using the information given, select the statement that can deduce the line segments to be parallel. If there are none, then select none. When m1 = mB ab//dc ad
Sammie's monthly take-home pay is $3600, and his monthly rent is $900. If both his monthly take-home pay and his rent increase by $250, what percentage of Sammi
The tank shown is a cylinder with diameter equal to 4 feet and height equal to 12 feet. the tank holds 1130 gallons of rainwater when full. how many gallons of
What is the answer ?
A 5-inch, f/6 telescope has a 2-inch eyepiece focal. Its magnifying power is:5X6X15X60X
what is a special scientific name for a swift fox
PLEASE PLEADE HELP!?!? The universe could be considered an isolated system because (2 points) Select one: a. many people think that no energy or matter exists
In this conversation, which group discussion technique does Jennifer most clearly show? JENNIFER: All right, today we're discussing Five Doors Down by Len McGi
: Your experience indicates that offering a discount in your emails increases responses by 80%. Your last email, without a discount, got 23,000 responses. If yo
answer this question please and right