The code block I wrote is a statement followed by an if. What I meant be “backwards” was the order of conditions, not that the statement came after the if. It’s exactly what you asked for.
ignirtoq
- 0 Posts
- 3 Comments
Joined 1 year ago
Cake day: October 22nd, 2025
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Python, though the logic would be backwards:
milk_gallons = 6 if eggs > 0 else 1


It’s a web app and you just showed we can do it in text with Unicode and a modern browser. This bug is a level of self-inflicted, shouldn’t-be-in-the-realm-of-possible problem I struggle to comprehend. It’s the software version of not even wrong.