2021年1月15日

python字符串表达式游戏

摘要: 《Python核心编程》中第11章中一个示例:算术游戏(easyMath.py) from operator import add, sub from random import randint, choice ops = {'+': add, '-': sub} MAXTRIES = 2 def 阅读全文

posted @ 2021-01-15 16:23 iUpoint 阅读(135) 评论(0) 推荐(0)

导航