[SSA]HellSpawn
Veteran XV
This is probally something real simple but I just started learning python and can't get it to work. So anyway While doing a loop i want it to print out every answer in a sequence, but all I can get is the one answer 3 times.
Any help would be appreciated. Thanks.
Any help would be appreciated. Thanks.
Code:
n = input("Please enter the number of terms you wish to sum:, ")
for i in range(n):
sum=4.0/((2*n)-1)
print sum