Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- lista = [1,2,3,4,5]
- dicc = {'brown': 'marron', 'black': 'negro', 'white': 'blanco'}
- nombres = ["Juan", "Tito"]
- for numero in lista:
- print(numero)
- for caracter in "Hola a todos":
- print(caracter)
- for nombre in nombres:
- print(nombre)
- for k,v in dicc.items():
- print(k,v)
- for numero in range(100,-1,-10): # range(vi, tope, salto)
- print(numero)
Add Comment
Please, Sign In to add comment