摘要: Python中的switch>>> choice = 'ham'>>> print({'spam': 1.25,... 'ham': 1.99, # A dictionary-based 'switch'... 'eggs': 0.99, # Us... 阅读全文
posted @ 2014-09-02 16:44 小龙酸菜 阅读(136) 评论(0) 推荐(0) 编辑