0
Can anybody tell about the summation program in python?
(1/1+â2) +(1/â2+â3)........(1/â624+â625) How to make this program???
1 Réponse
+ 1
Hi.
Have you tried some?
I would probably start using
import numpy as np
sum = 0
for i in range(1, 625):
sum += 1/np.sqrt(i) + np.sqrt(i + 1)
print (sum)