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

Heights of a group of boys who attend the army selection camp is normally distributed with mean 170cm and S.D.3.9cm. Minimum eligible height for army is 175cm.
Add the additive inverse of 5 to the product of -1 and -4 show all​
how can stress caused by peer pressure negatively impact someone life quality
Which exponential function has an initial value of 2? O f(x)=2(3x) O f(x)=3(2) x -2 f(x) 118 1
Information I could share about my topic:
Name of the polynomial expression: -8
Find mUW please help!!!
The parallel sides of a trapezium are 25cm and 11cm, while its nonparallel sides are 15cm and 13cm. find the area of the trapezium.
In the cuboid below, tan(A) = 3 tan(B) = 4 Work out the value of tan(C). If your answer is a decimal, give it to 1 d.p.
WILL GIVE BRAINLIEST IF ANSWERED FAST!!!