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

14th Jul 2018, 11:11 AM
Dipankar Verma
Dipankar Verma - avatar
2 Answers
+ 4
sum=0 while 1: a = int(input("a")) sum += a if a == 0: break print(sum)
14th Jul 2018, 11:55 AM
Markus Kaleton
Markus Kaleton - avatar
+ 2
gayer Sack VerpÂĄss divh!
19th Nov 2018, 11:32 AM
fabi
fabi - avatar