2. Backtracking 2 step diagramsο
The python file to make a 2-step backtracking diagram is below.
The required LaTeX files are below.
The python file, backtracking_2step_diagram_maker.py, when run, will ask for 3 inputs:
Choose the first arithmetic process:
"Enter 1, 2, 3, 4 or 5 for +, -, X, /, random for the 1st process".Choose the second arithmetic process:
"Enter 1, 2, 3, 4 or 5 for +, -, X, /, random for the 2nd process"Choose the file name base:
"Enter the base filename to be added to the prefix bt2_:".The filename will have β_qβ added for the question diagram and β_ansβ for the answer diagram.