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

¿En què situaciones usamos los nùmeros enteros positivos y negativos, escribe 2 ejemplos de cada uno? Por favor para ahora hocino me jalan :(
How to translate f(x)(blue) to g(x) red?
If OB = 6 and AB = 8, then EA
Hola, por favor, me gustaría opositar al ejército de tierra español. Pero tengo unas dudas: ¿Se cobra bien? ¿Se puede ser directamente Cabo? ¿Es difícil? ¿En cu
I made an Alan Walker meme lol
Two best friends, Pluto and Goofy, have very different hobbies. Pluto likes to skydive from a height of 24,568 feet. Goofy likes to scuba dive down to a depth o
In comparing the governmental institutions of China with Russia, which of the following best describes how they are similar?
A sociedade brasileira de pediatria recomenda limitar o tempo máximo de telas e jogos de videogames a três horas por dia, para adolescentes com idades entrar 11
Which of the following statements is TRUE? A. Lower intensity exercise utilizes primarily carbohydrates, B. Higher intensity exercise utilizes primarily protein
Please help!! I know this might be a lot but anything helps! (Please don’t put links, I’ll report) all of the questions have to do with the article “The Ketchup