Thanks to python I met you. Thank you for sharing your knowledge. I made some problems for children to whom I give free python classes. I remembered it with your publication. I learn every day something new about python
#.................................................
# Ejercicio resuelto N094
palabra = input('Introduzca una palabra: ')
print(palabra[0:]) # equivale a toda la palabra
print(palabra[::]) # equivale a toda la palabra
print('Palabra original: ', palabra)
print('Palabra inversa: ', palabra[::-1])
I speak Spanish, I am from Venezuela. I used English to show you what I did. Greetings!
Thank you for your comment.
I didn't know the expression of array [::]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit