Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- # como imprimir varias listas juntas
- nombres = ["Ana","Juana","Hector"]
- notas = [8,9,9]
- dni = [38_258_215,25_222_158,44_058_069]
- for nombre, nota, nro in zip(nombres,notas,dni):
- print(f"{nombre:<8}{nota:>3}{nro:>10}")
Advertisement
Add Comment
Please, Sign In to add comment