This is the py code submitted for the Arithmetic Formatter project, part of the Scientific Computing with Python course on freecodecamp.org.
Instructions for the project can be found at https://www.freecodecamp.org/learn/scientific-computing-with-python/build-an-arithmetic-formatter-project/build-an-arithmetic-formatter-project