januschung / math-worksheet-generator Goto Github PK
View Code? Open in Web Editor NEWCreate basic addition, subtraction, multiplication and division practice questions with the answer sheet
License: GNU General Public License v2.0
Create basic addition, subtraction, multiplication and division practice questions with the answer sheet
License: GNU General Public License v2.0
Hi again,
I generate worksheets for my kids all the time. Thank you for the great work!
I would like to repeat the numbering of question & answers every 100 questions. If I set to create 300 questions that would create one document with 300 questions but its numbering would go from 1-100, 1-100, 1-100.
Is this possible without doing a lot of coding?
Thank you!
It would be great if you could add hacktoberfest
to this repository's topic.
Additional control for regrouping/Carryover would be nice.
This is a great tool, I like it so much... Kudos!!
I think It may be better to add some unit tests to the application to ensure that something is not broken in the process.
I don't have time to work on that now, I am putting this issue here for my future self or any other developer who will have time.
Keep up the good work...
From A fellow parent ...
Hello,
Thank you for such a great work. It really helps a lot keeping my kids occupied.
I'm not a code developer. This may be vary obvious...
But how could I force the software when selecting to work with 2 digits only work with the range of numbers 10-99
or if selecting to work with 3 digits only work with 100-999.
I think it's this part of the code
# how many places, 1:0-9, 2:0-99, 3:0-999 if args.digits == "1": size_ = 9 elif args.digits == "3": size_ = 999 else: size_ = 99
But I don't know how to change it to do what I want. Could you help me with that?
Best regards & Thank you again!
An option to control the number of questions presented per page e.g 4x4, 6x6, 8x8 scaled to fill the page
Option to include or exclude the answer page
Add today's date to the top of the page
Great work! ๐
Hello!
Haw hard/easy would be to add option to generate worksheets using >3 digits?
Sincerely
Could I separate your code (Math operations, Output methods, Parser options) into a different files and write prototype of unittests?
Example of math separate in your file - #23
Hello,
very nice and useful package to quickly generate worksheets for children practising basis math!
However, I've problem generating worksheets for division...
$ python3 run.py --type / --digits 3 -q 10
Traceback (most recent call last):
File "/home/gour/repos/external/math-worksheet-generator/run.py", line 285, in <module>
main(args.type, size_, args.question_count, args.output)
File "/home/gour/repos/external/math-worksheet-generator/run.py", line 237, in main
seed_question = new_pdf.get_list_of_questions(question_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gour/repos/external/math-worksheet-generator/run.py", line 88, in get_list_of_questions
new_question = self.generate_question()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gour/repos/external/math-worksheet-generator/run.py", line 74, in generate_question
num_1, num_2, answer = self.division_helper(num_1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gour/repos/external/math-worksheet-generator/run.py", line 49, in division_helper
factor = random.sample(self.factors(num), 1)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/random.py", line 436, in sample
raise TypeError("Population must be a sequence. "
TypeError: Population must be a sequence. For dicts or sets, use sorted(d).
Any hint?
Hello,
I'm letting my kids resolve 2-digit multiplications. However the space for them to resolve the problems is very small. I've tried changing the font size, but still.
Is there a way to move number 1 and number 2 further north in the box? Or maybe narrow the space between number 1 and number 2? Or maybe is there a way to make the box larger (to the south side)?
Whatever works easier.
Thank you very much.
Thanks for your great app!
It would be nice if it was possible to choose multiple operators, but not ALL. My kids are learning addition and subtraction and would like sheets that have a mix of both.
Can I make a web version of this math worksheet generator with Flask? It's much simpler for non tech-savvy people to generate worksheet PDFs from a website than a CLI.
I just wanted to ask you permission before I made it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.