I'm having issues replacing a "?" with a zero. What ogtL is just a list of numbers that I've taken from an excel file. From that excel is just more numbers.I'm just having problems as to why its not working and I would also like some help on putting the new string back into ogtL.
for eachWord in ogtL: #ogtL is a List
newString=""
for eachCharacter in eachWord:
newString+=eachCharacter
newString.replace("?","0")
print(newString)