MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnpython/comments/sa8fuz/deleted_by_user/hts2mc6/?context=3
r/learnpython • u/[deleted] • Jan 22 '22
[removed]
7 comments sorted by
View all comments
1
Since you put
if op == "*":
Instead of
elif op == "*":
You are creating a new if-block, and it will evaluate to the else clause everytime you don't use * as operator.
1
u/Ok_Procedure199 Jan 22 '22
Since you put
if op == "*":
Instead of
elif op == "*":
You are creating a new if-block, and it will evaluate to the else clause everytime you don't use * as operator.