Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def Invertir(lista):
- salir = False
- lista2 =[]
- items = len(lista)
- items = items - 1
- while salir == False:
- lista2.append(lista[items])
- items = items - 1
- if items < 0:
- salir = True
- print(lista2)
- abecedario = ['a', 'b', 'c', 'd','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
- Invertir(abecedario)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement