Advertisement
Guest User

Invertir Lista

a guest
Dec 14th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. def Invertir (lista):
  2.  
  3. lista.reverse()
  4.  
  5. print(lista[:])
  6.  
  7. 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']
  8.  
  9. Invertir(abecedario)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement