首页 > TAG信息列表 > rjg
计应193第一组个人流程——康帅
from fractions import Fraction def newint(): opr = ['+', '-', '×', '÷'] fh = random.randint(0, 3) n1 = random.randint(1, 20) n2 = random.randint(1, 20) rjg = 0 if fh == 0: rjg = n1四则运算
import random from fractions import Fraction def newint(): opr = ['+', '-', '×', '÷'] fh = random.randint(0, 3) n1 = random.randint(1, 20) n2 = random.randint(1, 20) rjg = 0 if fh == 0:自动生成四则运算题目程序(计算机181陈硕)
https://edu.cnblogs.com/campus/ahgc/AHPU-se-JSJ18 https://edu.cnblogs.com/campus/ahgc/AHPU-se-JSJ18/homework/11377 需求分析: 1.能自动生成四则运算题目 2.除了整数外,还要支持真分数的四则运算 3.判断运算结果对错 3180701122 import random from fractions import Fractio四则运算
博客班级|https://edu.cnblogs.com/campus/ahgc/AHPU-SE-19 作业要求|https://edu.cnblogs.com/campus/ahgc/AHPU-SE-19/homework/11376 |................|..................| 作业目标|<生成四则运算> 学号|<3190704222> import random from fractions import Fraction def new