摘要: dics.get(k,d)get相当于一条if...else...语句。如果参数k在字典dics中,字典将返回dics[k];返回参数d。例子 阅读全文
posted @ 2016-04-05 20:09 jihite 阅读(1896) 评论(0) 推荐(0)