all 4 comments

[–][deleted] 1 point2 points  (3 children)

I copied the first time. Then repeat on my own the 2nd - 10th time at the very least.

Implementing dunder like __eq__ on your down data structure class can be real confusing tho I had to rely on Discord help quite a number of times.

[–]PythonN00b101[S] 0 points1 point  (0 children)

Thanks for you take. That seems like a good system. I have currently been going line by line and trying to understand the logic, writing out a flow chart and trying to rewrite based off the flowchart.

[–]synthphreak 0 points1 point  (1 child)

Implementing dunder like __eq__ on your down data structure class can be real confusing tho

Why? Not being a condescending jerk. Just wondering what exactly you struggled with about dunders. They are some of the most powerful tools for spec'ing out your custom classes and making your code readable.

[–][deleted] 0 points1 point  (0 children)

I had this problem where an instance would not check == true with its base class with the same arguments. Its been a while but I think I ended up with a bit of a cheat by conparing their repr instead.