texto = " Python é incrível! " texto_limpo = texto.strip() print(texto_limpo) # Saída: "Python é incrível!"