medium
Refactor Python Code for PEP 8
Optimize a Python code snippet for readability and compliance with style guides.
📝 提示内容
Refactor the following Python code snippet to improve readability, reduce redundancy, and strictly adhere to PEP 8 style guidelines. Provide the final code block and a brief explanation of the changes made.