I had a recent assignment from my Programming module, where I was tasked to build a simple command-line program in Python 3 that emulated a database. After delving into it and trying to find the best…