texto = "Python É Incrível!" texto_invertido = texto.swapcase() print(texto_invertido) # Saída: "pYTHON é INCRÍVEL!"