Prompt Detail:
Build a code formatter in Python that formats and indents the given code according to a set of rules.
Add a comment