0
Program to add infinite number as required
I am new to python programming a little help will be appreciated https://code.sololearn.com/c01ToefFF4eC/?ref=app Also help me to learn the syntax difference between c++ and python
2 Answers
+ 4
sum=0
while 1:
a = int(input("a"))
sum += a
if a == 0:
break
print(sum)
+ 2
gayer Sack VerpÂĄss divh!