Python Beginner – calculates the sum of odd numbers 1-99

Time:2020-10-28
s = 0
for i in range(1,100,2):
   s = s + i
print(s)