Advertisement
Fhernd

iteracion-inversa.py

Jun 14th, 2018
1,764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. primos = [2, 3, 5, 7, 11]
  2.  
  3. for primo in reversed(primos):
  4.     print(primo)
  5.  
  6. print()
  7.  
  8. python = 'Python'
  9.  
  10. for caracter in reversed(python):
  11.     print(caracter)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement