#!/usr/bin/env python3
otras_distros = ["Fedora","Pardus","Debian","Slackware"]
mi_dic = {
"Linux" : ["Arch","Gentoo","Ubuntu","openSUSE"],
"BSD" : ["PC-BSD","FreeBSD"],
"Darwin" : "iOS",
}
for i in mi_dic["Linux"]:
print ("Una distro famosa de Linux es :", i)
# Cambiamos el valor de Linux
mi_dic['Linux'] = otras_distros
print ("\nYa cambiamos el valor de las distros \n")
for i in mi_dic["Linux"]:
print ("Una distro famosa de Linux es :", i)
# Llamos iOS
print ("\nDarwin se encuentra en :", mi_dic['Darwin'])
# Cambiamos el valor
mi_dic['Darwin'] = "MacOS X"
print ("Darwin se encuentra en :", mi_dic['Darwin'])