(Jan-15-2023, 05:59 PM)mikepy Wrote:How else could I demonstrate the wrong behavior including the debugging process?(Jan-15-2023, 05:16 PM)deanhystad Wrote: You can paste images. I've seen it done. But for nearly every kind of discussion about programs and errors, text is superior to a screen shot. Here, for example. I ran your code and it does not print [...]. I am not running Python 3.10.8, but I ran it on 3.10.4 and 3.11, and there are no reported logic or comparison problems for 3.10.8.I have tried it before but the image was broken. So I have tried another online provider now to upload my screenshot. As you can see the code gets executed (yellow part)
Please post an example that demonstrates the behavior you are seeing.
Weird behaviour using if statement in python 3.10.8
Users browsing this thread: 1 Guest(s)