python-CSD-kursu/python-temel/1-100.py

6 lines
71 B
Python

i = 1
total = 0
while i <= 100:
total += i
i += 1
print(total)