发布时间:2019-09-08 09:09:46编辑:auto阅读(6199)
python 实现case when ,switch的功能
Python可以通过数据字典的方式实现
#!/usr/bin/env python
#coding=utf-8
list = {"id":"1","iname":"dwchaoyue","iaddr":"ShangHai","iage":"null"}
print list.get("id")
上一篇: Python 之 shutil模块
下一篇: Python13 字符转编码
51345
50804
41399
38198
32688
29581
28414
23298
23257
21587
1665°
2397°
2005°
1940°
2270°
1972°
2676°
4474°
4305°
3069°