+ 1
How do I add a character in a specific index of a list?
List=['ade', 'zio'] I want to add 'd' inside the list[0] index. I want the final result to be List=['aded', 'zio'] Help!
1 Answer
+ 6
List[0]+='d'
List=['ade', 'zio'] I want to add 'd' inside the list[0] index. I want the final result to be List=['aded', 'zio'] Help!