z=input().strip()
v=[]
s=""
for i in z:
if i.isdigit():
s+=i
else:
if s:
v+=[int(s)]
s=""
if s:
v+=[int(s)]
print(sum(v))
z=input().strip()
v=[]
s=""
for i in z:
if i.isdigit():
s+=i
else:
if s:
v+=[int(s)]
s=""
if s:
v+=[int(s)]
print(sum(v))
Hi friends....
In this blog I'm going to give answer for daily test skillrack program, daily challenges and kick start programs and give some coding techniques.
It'll be helpful for u sure and make it usefull
Learn More →
0 Comments