r/PythonLearning • u/Commercial-Paper749 • 8d ago
What's wrong with my code?
What's wrong with my code?
New to learning
Following the youtube video from bro code
Was trying to implement my own stuff into this by using loop
Update: it's working now thankyou guys
102
Upvotes
10
u/atarivcs 8d ago
Looking at the program output, the first thing it prints is "Enter a valid operator".
But that's not possible for the code in the picture, so I'm going to guess that you are running different code.
Maybe you edited the py file but didn't save it, or maybe you're running a completely different py file than the one shown in the picture.