摘要: pytho本身并未提供switch语句,但可以通过dict来模拟switch, 方法二每次调用时都需要生成dict。 阅读全文
posted @ 2016-03-02 14:33 老顽童2007 阅读(406) 评论(0) 推荐(0) 编辑