code:
N = input()
inpa = str( input() )
while N > 0:
lista = inpa.split(" ")
suma = 0
for num in lista:
vala = str( num )[::-1]
suma = suma + int( vala )
suma = int( str( suma )[::-1] )
print (suma)
inpa = str( input() )
N = N - 1
I'm using 3.X python
not sure why this blows up as it runs fine in VS. pyConsole
any assistance would be much appreciated
created
last reply
- 3
replies
- 315
views
- 2
users