Python Syntax
Python uses indentation to define code blocks, unlike curly braces in other languages.
Basic Syntax Rules
- Indentation matters (4 spaces is standard)
- No semicolons needed
- Case-sensitive
- Comments start with #
if True:
print("Indented block")
print("Same block")
print("Outside block")