Write a python programm to read 5 number and sum of all odd values between them.
#Write a python programm to read 5 number and sum of all
#odd values between them.
i=0
sum=0
while i<5:
num=int(input("Enter the number"))
i+=1
if num%2!=0:
sum=sum+num
print(sum)
Comments
Post a Comment