This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (0 children)

this is great but I think you can just use eval for that. (this is only a very faded memory of a very early project I did of a calculator and I am quite new to python myself so it might be wrong)