Python No.17_字符嵌套[Python基础]

# !/usr/bin/env python
# -*- coding:utf-8 -*-
# Author:Hugolinhj

av_catalog = {
"oumei":{
"www.youpron.com":["很多免费的","质量一般"],
"www.pornhub.com":["很多免费,也大","质量比yourporn高"],
"letmedothistoyou.com":["多自拍,高质量图片多","资源不多,更新慢"],
"x-art.com":["质量很高","全收费!"]
},
"rihan":{
"tokoy-hot":["质量一般","听说收费"]
},
"dalu":{
"1024":["全免费","服务器在国外"]
},
}
av_catalog["dalu"]["1024"][1]="可以在国内做镜像"
print(av_catalog["dalu"]["1024"][1])

av_catalog.setdefault("dalu",{"www.baidu.com":[1,2]})
print(av_catalog)




hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » Python No.17_字符嵌套