Just want confirmation that this assertion is correct:
python cannot ever experience the dangling else problem
UPDATE fixed typo
Python's blocks are indentation-based, not delimiter-based, therefore it is possible to unambiguously associate an else clause with its corresponding primary clause.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With