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

Write the equation of the line in fully simplified slope-intercept form. 12 11 10 9 8 6 4 3 2 -12-11-10-9-8-7-6-5-4 1 2 3 4 5 6 7 8 9 10 11 12 -2 ܝܝ ܠ ܚ ܬ ܬ ܘ -
how to solve 1-(-8)- 12/-3
Write the appropriate form of the verb in the present tense. (Use -AR Verbs) 1) Hablar 2) Sacar 3) Ganar 4) Nadar 5) Practicar 6) Lavar 7) Trabajar 8) Ayuda
How many different sundaes are possible if there are 16 toppings to choose from and I want 6 toppings on my ice cream sundae?
what is the perimeter of EFG?? NEED HELP ADAP
The Seneca Falls Convention of 1848 was unique because it was the first time women were activists. organized women to fight for their rights. started the first
I don’t know the answer to this question help me
What is consonance?Select one:a. repetition of rhymes b. repetition of rhythmsc. repetition of vowels d. repetition of consonants​
Most companies lose money in their first years of business. True False
How can you determine the narrowest graphing without graphing