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