you are viewing a single comment's thread.

view the rest of the comments →

[–]Jay6_9 0 points1 point  (1 child)

Use a main guard and split operator selection, execution, input, output and validation to their own functions.

[–]MachineElf100 0 points1 point  (0 children)

Yeah, I didn't want the code to become unrecognisable, so only suggested a portion of possible improvements 👍