Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- def imprimir_matriz(m):
- for fila in m:
- # print()
- for elemento in fila:
- print(str(elemento).center(5),end=" ")
- print()
- matriz = [[1, 3, 6], [-5, 55, 11], [0, 0, 1], [2, -5, 6], [47, 2, 100]]
- imprimir_matriz(matriz)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement