算术小游戏(python版)
<br />来自《核心编程第二版》<br />#!/usr/bin/env python
#easyMath.py---it is a veryeasy children math game.
""" """
#use add(),sub(),and random number.
from operator import add,sub
from random import randint,choice
#operators are stored in the dict.
ops = {'+'
原创
2010-09-10 10:19:00 ·
1035 阅读 ·
0 评论