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?
Impara in modo più efficiente, gratuitamente:
Introduzione a Python
7,1M studenti
Introduzione a Java
4,7M studenti
Introduzione a C
1,5M studenti
Introduzione a HTML
7,5M studenti