<jupyter_start><jupyter_text>Built-in Functions and Help  Use comments to add documentation to programs<jupyter_code><jupyter_output><empty_output><jupyter_text>A function may take zero or more arguments<jupyter_code><jupyter_output><empty_output><jupyter_text>Commonly-used built-in functions include max, min, and round<jupyter_code><jupyter_output><empty_output><jupyter_text>Functions may only work for certain (combinations of) arguments<jupyter_code><jupyter_output><empty_output><jupyter_text>Functions may have default values for some arguments<jupyter_code><jupyter_output><empty_output><jupyter_text>Use the built-in function help to get help for a function<jupyter_code><jupyter_output><empty_output><jupyter_text>Python reports a syntax error when it can’t understand the source of a program<jupyter_code><jupyter_output><empty_output><jupyter_text>Python reports a runtime error when something goes wrong while a program is executing<jupyter_code><jupyter_output><empty_output><jupyter_text>Every function returns something<jupyter_code><jupyter_output><empty_output><jupyter_text>Exercises  What Happens When<jupyter_code>%load ../exercises/builtin-order.py<jupyter_output><empty_output><jupyter_text>Why Not?<jupyter_code>%load ../exercises/builtin-why-not.py<jupyter_output><empty_output><jupyter_text>Spot the Difference<jupyter_code>%load ../exercises/builtin-spot-the-difference.py<jupyter_output><empty_output><jupyter_text>Last Character of a String<jupyter_code>%load ../exercises/builtin-last-character.py<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup