2nd Assignment - Bugging Out (Sorry for repeat)

If they’re in a list, then sum the slice of the list that excludes the final element.
sum(inputList[:-1])

Is code still a string? If so, there was nothing wrong with the previous conversion. You said something might be wrong with the current statement, but not what you wanted to accomplish. If code is a string, then inputList will be a list of the characters of that string. Is that what you want?