Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- # IMPRESION DE MATRICES
- notas = [["pepe",10], ["ana",5], ["tito",8]]
- print("impresiĆ³n horizontal de la matriz notas")
- print(notas)
- print("\nimpresiĆ³n de los elementos de la matriz nota")
- for alumno in notas:
- print(alumno[0], alumno[1])
- print("\nImpresion vertical de los elementos de la matriz notas")
- for alumno in notas:
- for elemento in alumno:
- print(elemento)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement