texto = "Olá, Mundo!" # Tentar modificar uma string resultará em um erro texto[0] = "o" # TypeError: 'str' object does not support item assignment