Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- """
- Las matrices son listas de listas
- """
- ale_perez = [32, 252588566, "TEL:4645654", True]
- juana_garcia = [25, 455588566, "TEL:1115654", False]
- empleados = [ale_perez, juana_garcia]
- # imprimo los datos de ale_perez
- print(empleados[0])
- # imprimo la edad de juana_garcia
- print(empleados[1][0])
- # imprimo si ale_perez esta casado o no
- print(empleados[0][3])
Advertisement
Add Comment
Please, Sign In to add comment