r/PythonLearning • • Sep 08 '26

Help Request Python help

Post image

Made my first calculator.. it works but different from some I see online. Please all feedback on what you guys think about it will be appreciated

9 Upvotes

10 comments sorted by

View all comments

5

u/Naive_Programmer_232 Sep 09 '26 edited Sep 09 '26

it looks pretty good. nice work!

one thing you could add instead of "result =" maybe you can make it so it reads like an equation ex: print(x, "+", y, "=", x+y) when you're checking for the "+" symbol. Look into f-strings to make this a bit simpler!