GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - eastyou/decimalgrid: 小数方格图:10×10 涂色读数与小数、百分数、分数互化

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
decimalgrid
decimalgrid
 
 
examples
examples
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

decimalgrid

CI License: MIT Python 3.9+

把 10×10 方格图当作“1”,涂色格数就是百分位:涂色读数、按小数涂色、小数与百分数和最简分数互化,生成可打印的 A4 练习纸。

安装

pip install -e .

只需要 Python 3.9+,零第三方依赖。

用法

# 生成 8 道读数 / 涂色 / 互化混合练习,附答案
decimalgrid sheet --count 8 --answers -o sheet.html

# 只练读数,格数限定在 10–90
decimalgrid sheet --kinds read --min 10 --max 90 -o read.html

# 输出涂 37 格的方格图 SVG
decimalgrid grid 37 -o grid.svg

# 小数、百分数、分数互化
decimalgrid convert 0.75
# 小数:0.75
# 百分数:75%
# 最简分数:3/4
# 涂色格数:75

功能

  • 10×10 方格图,涂色格数对应 0.00–1.00
  • 读数题、涂色题、互化题三种题型
  • 百分数转最简分数自动约分
  • 小数与百分数输入校验,最多两位小数
  • 题目去重、支持随机种子复现
  • 输出 A4 打印样式,答案单独一页

测试

python -m unittest discover -s tests -v

许可

MIT © 2026 eastyou

About

小数方格图:10×10 涂色读数与小数、百分数、分数互化

Topics

decimaleducationfractionmathpercentprintablesvgworksheet

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.