上传者: 38514805
|
上传时间: 2022-04-20 20:44:06
|
文件大小: 61KB
|
文件类型: PDF
三级菜单:
a.可依次进入各级菜单
b.可以动态选择各级菜单
[列表,字典]
#/usr/bin/python3
# -*- coding:utf-8 -*-
#定义字典
district_maps={
"陕西省":{"西安":["莲湖区","未央区","长安区"],"宝鸡":["陈仓区","渭滨区","金台区"],"咸阳":["秦都区","机场"]},
"河北省":{"保定":["xxx","xxxx","休息休息"],"唐山":["嘻嘻嘻","cscds","dcsc"],"ss":["cdcd","cdcdcd"]},
}
while