Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- texto = ''
- resultado = ''
- texto = input("Insira um texto para inverter:\n")
- def Inversor(textoParaInverter):
- return textoParaInverter[::-1]
- resultado = Inversor(texto)
- print(resultado)
Advertisement
Add Comment
Please, Sign In to add comment