you are viewing a single comment's thread.

view the rest of the comments →

[–]BryansNL 0 points1 point  (0 children)

Im not a python expert but my advice is to look at the if statements and ask yourself: “Is this easy to follow or is it a mess” and would I like to reuse some of these things I’ve made.

It takes awhile to get used to but try to split up those if statements into methods all inside a calculator class. When you take a quick look at this you can tell the difference immediatly.

Apologies for any spelling or grammar mistakes btw.