Why are my If statements ignored here?
I'm rather new to programming, and I'm enjoying this app significantly. However, I figure the best way that I'm going to learn, is if I write something from scratch, featuring one of the examples of things I learned. One such example was a "Simple Calculator", something of a big step for me. I worked out all of the errors I was getting in about a 24 hour peroid, but now my calculator will only ever "divide" any two numbers I give it. I had set up some If statements to try and thin down any possibility for error, but my If statements are being executed anyway, as if coming back as True. Why? I can't seem to figure it out. Replacing the If statements with Elif statements causes the opposite problem. The lines of code I'm referring to are on lines 21, 25, 29, and 33. that may change if I update this code trying some of your suggestions. Any help at all is appreciated! Even "hints" as opposed to straight up answers or solutions. Thanks for all your help! https://code.sololearn.com/ckBv6fnh0sJK/?ref=app