missymiss9018 missymiss9018
  • 26-05-2023
  • Computers and Technology
contestada

Which of the following best describes what the function compute returns? def compute (n) : i=2 sum =0 while i<=n: sum = sum +i i=i+1 return sum
a. It returns the sum of integers from 2 to n−1 b. It returns the sum of integers from 1 to n−1
c. It returns the sum of integers from 1 to n
d. It returns the sum of integers from 2 to n

Respuesta :

Otras preguntas

Which word identifies the shaking that results from movement under Earth's surface? O earthquake fault O plate O stress
What does the expression 'Massive Weight' stands for? FLAMINGO CLASS12 NCERT
What are some emotional and psychological struggles presented in the epic of gilgamesh
Solve the equation: -9 = x/3
can someone help me solve this question? solve 54-10 ≥ 20+7x
Drag each tile to the correct box. Which type of context clue will help define each underlined word? definition clue example clue inference clue For mobility,
How does the cartoonist use analogy in the cartoon? The cartoonist compares the windows of retail stores to the windows of web browsers. The cartoonist compares
What was Hijra???????????????????
Convert 60 miles per hour to feet per minute.
What is a theme of "The Magic Prison"?