Git Product home page Git Product logo

math-worksheet-generator's People

Contributors

crinibus avatar januschung avatar k1m0ch1 avatar meisquietude avatar miconnell avatar prayags avatar thedanimal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

math-worksheet-generator's Issues

Numbering of Questions and Answers in Worksheet

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!

Add unittests to the application..

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 ...

More control about Numbers used in the worksheet

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!

Some Suggestions

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! ๐Ÿ‘

Separate code and write unittests

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

TypeError: Population must be a sequence. For dicts or sets, use sorted(d).

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?

Less Space Between Number 1 and Number 2

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.

Allow operation subsets (i.e. [+-] or [*/])

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.

Web version of math worksheet generator

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.