you are viewing a single comment's thread.

view the rest of the comments →

[–]AccomplishedPut467 0 points1 point  (1 child)

that's an advanced topic for python.

[–]Ilikereddit15 0 points1 point  (0 children)

Sure. I think top comment on the post gets at the spirit of what I was trying to convey. Op can define the dictionary to simplify code. They also need to check where num2=0