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

IF CORRECT AND ON TIME WILL GIVE BRAINLIEST +100 POINTS The majority of people in the United States work in the __________ industry. A. agricultural B. fishing
Which of these did the man ask to God to enjoy life? a) health b) riches c) power d) all of things​
Find the area of the trapezoid. TOP 11ft, RIGHT4√3ft , BOTTOM 15ft ,LEFT 8ft
Discuss whether or not an increase in the wage rate paid to chefs will encourage more people to become chefs.
You are trying to determine the mass of sodium chloride required to create a 0.875 m solution in 534 g of water. How many moles of NaCl are required?
What is the change in freezing point, ATf, when the 0.195 m aqueous solution of K2S dissolves into 3 particles?
¿Qué rima con reutilizar?????
You spin the spinner twice. What is the probability of landing on a 7 and then landing on a number less than 9? Write your answer as a fraction or whole number.
help me to answer this​
Magnification of the image is formed by a mirror is -1.25,then answer the following questions 1. Mention the position of the object on the principle access 2.