Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- notas = [10,8,7,5,9]
- alumnos = ["Ana", "Tito","Jose","Juana","Cecilia"]
- for alumno, nota in zip(alumnos,notas):
- print(alumno, nota)
- for i, alumno in enumerate(alumnos):
- print(i+1, alumno)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement