design an algorithm to find the sum of 50 odd numbers.
Answers
Answered by
0
Answer:
sum = 0
for i in range(1,51):
if i % 2 != 0 :
sum += i
print(sum)
Explanation:
Similar questions