Write an algorithm to add up all the numbers from 1 to 100, what is the total
Answers
Answered by
0
Explanation:
x = int(input("Enter a no"))
term = x/2(1+x)
print("Total sum",term)
Similar questions