Optimize your Python code with enumerate(), zip(), unpacking, in-place exchange, dict get(), context managers, and number formatting.