2. Backtracking 2 step diagrams

The python file to make a 2-step backtracking diagram is below.
The 2 custom python modules required are:
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.

2.1. A 2-step backtracking diagram with answers

addition_q

addition_ans