Как исправить ошибку TypeError: unsupported operand type(s) for +: 'int' and 'str'?
s = input("введи штрих код")
pudge = 0
a =''
b =''
for i in range(0,len(s),2):
a += s[i]
for i in range(1, len(s), 2):
b += s[i]
gg = list(a)
gg1 = list(b)
print(sum(gg))
print(gg1)