Professional Documents
Culture Documents
Python Program
Python Program
Q-WRITE A PROGRAM TO INPUT THE DIGIT AND FIND THEIR SUM UNTILL USER INPUT ZERO.
Sol-c=0
a=1
while a>0:
b=int(input("enter a value"))
c=c+b
if b==0:
print("the sum of no.",c)