Jan-15-2023, 05:27 PM
1 does not equal 2 so will always be false
The brackets are not required in the if statement,
The brackets are not required in the if statement,
print(1 == 2) if 1 == 2: print("[...]") print("Ended")
Output:False
Ended
(Jan-15-2023, 05:03 PM)mikepy Wrote: To be honest I don't know why there is no possibility like in other forums to copy and paste images.
(Jan-15-2023, 05:16 PM)deanhystad Wrote: You can paste images.But the forum rules advise people to not post images, so please don't.
https://python-forum.io/misc.php?action=help&hid=21 Wrote:What to NOT include in a post
Images of text. Please do not take a screenshot of your traceback or code, just copy and paste the text of it in the post using BBCode. If this text is within a popup that you cannot copy the text out of, please use this tool to acquire the text from within it (for windows users). We need to copy and paste your code and cannot do so with an image.