3 ms·
> python doesn't have anything like a semicolon to combine multiple statements Python does have a "semicolon to combine multiple statements", and has further (
by mattashii 2y ago
> python doesn't have anything like a semicolon to combine multiple statements
Python does have a "semicolon to combine multiple statements", and has further (lambda f: f(f)) expressions for complex expressions with local names and scopes.
(not that using either for those would result in pythonic code, but it is certainly not missing from the language)
- ffsm8 2y agoOh, you're right. I should've tested that before writing my comment. Thanks for calling me out