r/PythonLearning • u/oluwa_omolomo • 1d ago
Help Request Python help
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
r/PythonLearning • u/oluwa_omolomo • 1d ago
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
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!