- 1

I have error. I want to replace one item in group like "doumbia. Thanks you sir.

Replace one item in group. https://code.sololearn.com/ciPI5M58G1GP/?ref=app

19th Oct 2021, 4:01 AM
Malick Diagne
Malick Diagne - avatar
1 Réponse
+ 1
`replace` is a method for string objects, but you're trying to use it in a list. To find suitable list object methods, read about list objects in Python Docs (https://docs.python.org/3/) or use Python Shell embedded help, with `help(list)`.
24th Oct 2021, 11:13 PM
Emerson Prado
Emerson Prado - avatar