May-05-2022, 06:12 AM
Why use Python 2? First thing to do to make the code look better is to use Python 3. Then avoid numbered variable names such as
d0 d1 d2
, use lists instead d[0], d[1], d[2]
.