z=int(input())
d=list(map(int,input().split()))
g=0
for i in d:
t='';flag=1
for j in str(i)[::-1]:
if j=='0' and flag==1:
flag=0
continue
else:
t+=j
g+=int(t[::-1])
print(g)
z=int(input())
d=list(map(int,input().split()))
g=0
for i in d:
t='';flag=1
for j in str(i)[::-1]:
if j=='0' and flag==1:
flag=0
continue
else:
t+=j
g+=int(t[::-1])
print(g)
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