Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- dicc = {"white":"blanco", "red":"rojo","green":"verde"}
- print(dicc)
- for clave, valor in dicc.items():
- print(clave, valor)
- notas = [ ["ale",10], ["ana",5], ["tito", 8] ]
- print(notas)
- print("------------------------")
- for elemento in notas:
- print(elemento)
- print("------------------------")
- for i in notas:
- print()
- for j in i:
- print(j, end=" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement