naveenakchurelepati naveenakchurelepati
  • 10-08-2021
  • Computers and Technology
contestada

consider l= 5 ,r= 11. you must determine the sum of the values of the function in the range L to R . you have to calculate sum = lrf(x) in python coding

Respuesta :

onika92 onika92
  • 11-08-2021

def summation (num1, num2):

i = 0

for x in range (num1 : num2 + 1):

i += x

return i

print ( summation(l, r))

Answer Link

Otras preguntas

Say a hacker has a list of n distinct password candidates, only one of which will successfully log her into a secure system. a. If she tries passwords from the
please help me!!Why does the author use imagery in this passage?Group of answer choicesto describe the despair she feels about the townto symbolize the hope she
At a​ cookout, Mrs. Crawford makes two thirds lb of chickennbsp for each guest. Express the relationship between the number of guests x and the number of pounds
what year and what place did Anthony Johnson come to America ​
Authors make you think deeply by
Simplify. 52 • (4 + 23)
Will mark Brainliest to whoever gets this right What is the slope of this line?
which of the following historical figures was among the earliest to expound on the role of the environmental factors in causing diseases? a) Sir Percival Pott b
Rango carefully mixed 15.6 g of sodium with chlorine. The reaction produced 39.7 g of sodium chloride. How many grams of chlorine and sodium reacted?
Macroeconomics DeShawn has spent $600 purchasing and repairing an old fishing boat, which he expects to sell for $900 once the repairs are complete. DeShawn dis