1 #!/usr/bin/python3 2 #-*-coding: utf-8 -*- 3 4 Mascotas = { "Halcón" : 3, "Agaporni" : 3, "Zorrillo": 1 } 5 6 for Mascota in Mascotas: 7 print( Mascota )
[rrc@Llawyr PythonClase]$ ./Dict-9.py Agaporni Halcón Zorrillo