Subject:
Computer ScienceAuthor:
matildagqnnCreated:
1 year agoAnswer:
n = int(input("Enter the number..!!"))
i,sum = 1,0
while (i < n):
if(i % 2 != 0):
sum =sum+ i*i
i+=1
print ("Sum of all odd number is ..!! ",sum)
Author:
ezra218
Rate an answer:
5