Computer Science, asked by Chahalsaab1134, 4 months ago

Write an algorithm to add up all the numbers from 1 to 100, what is the total

Answers

Answered by RuwaisnZaid
0

Explanation:

x = int(input("Enter a no"))

term = x/2(1+x)

print("Total sum",term)

Similar questions