3 个版本
| 0.1.2 | 2022年9月7日 | 
|---|---|
| 0.1.1 | 2022年9月7日 | 
| 0.1.0 | 2022年9月5日 | 
#1105 in 数学
8KB
123 行
MathFacts
此包旨在帮助练习常见的/简单的数学事实。我为此写了一个程序,让我8岁的儿子练习加法、减法和乘法。
在 number 道题结束时会显示以下统计信息
- 得分
- 正确
- 总题数
- 每题平均时间
用法
USAGE:
    mathfacts [OPTIONS] <SUBCOMMAND>
OPTIONS:
    -h, --help               Print help information
    -m, --max <MAX>          Largest number to possibly generate [default: 12]
    -n, --number <NUMBER>    Number of questions to ask [default: 10]
        --negative           Allow random to generate negative numbers
SUBCOMMANDS:
    add         
    help        Print this message or the help of the given subcommand(s)
    multiply    
    subtract    
依赖关系
~4MB
~66K SLoC