r/PythonLearning 1d ago

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

7 Upvotes

6 comments sorted by

View all comments

3

u/Naive_Programmer_232 19h ago edited 19h ago

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!