Say I have word="Python" and I say word.reverse(). Then it gives me an error saying reverse can't be used for type str. But aren't strings like lists too?
Apprenez de manière plus efficace, gratuitement :
Introduction à Python
7.1M apprenants
Introduction à Java
4.7M apprenants
Introduction à C
1.5M apprenants
Introduction à HTML
7.5M apprenants