I am in need of some help. I don't know why the type error, list indices must be integers, not str, comes up. I'm trying to take the first character of isbn and multiply it by 10, and the second by 9, and so on. And after that has finished I need to find if the total is a multiple of 11.
isbn = ['0439202116']
count = 10
x = 0
for x in isbn:
total = isbn[x] * count
count -= 1
x += 1
if (total % 11 == 0):
print(True)
else:
print(False)