gen.py can generate a list of probelems for addition and substraction for a range specified. Found it useful for kids to solve thise kinds of problems.
Output will be written to standard output so needs to me redirected to a file.
There are some options to use with the script:
- -s key will make output data ordered
- --range will specify the maximum number (does not quite work for odd numbers for addition), default value is 20
- --operation can be either addition or substraction, default is addition
- --columns number of columns in csv file, default value is 4