According to Pro Python third edition:
For the sake of this guideline, most situations tend to take the following view of
the two terms:
• Complex: Made up of many interconnected parts
• Complicated: So complex as to be difficult to understand
So in the face of an interface that requires a large number of things to keep track of,
it’s even more important to retain as much simplicity as possible. This can take the form
of consolidating methods onto a smaller number of objects, perhaps grouping objects
into more logical arrangements or even simply making sure to use names that make
sense without having to dig into the code to understand them.
So you as the book said, you need to make your code and file more organized and use most readble names to define variables/funtions as you can.
Actually, the best answer accepted is more likely to describe the upper rule:
Simple is better than complex.
Here is the snippet example of "Simple is better than complex." from the book:
if value is not None and value != ":
if value:
Obviously, the second line is simpler than first one and more easy to munipulate, and more likely with the best answer example code.