摘要: 可通过字典调用:{1:case1,2:case2}.get(x,lambda *args,**key:)()# 编写一个计算器 # -*- coding=utf-8 -*-def jia(x,y): return x+ydef jian(x,y): return x-ydef cheng(x,... 阅读全文
posted @ 2015-10-05 21:05 萱娃 阅读(527) 评论(0) 推荐(0)