1 · Python concept
The idea
| function | A named, reusable set of steps. Define it once, then call it as many times as you need. |
|---|---|
| def | The keyword that defines a function: def, the function name, parentheses, then a colon. |
| parameter | The name in the definition's parentheses. In def greet(name):, name is the parameter. |
| argument | The value in a call's parentheses. In greet("Ari"), "Ari" is the argument, and it becomes name. |
| Python to the world | greet(name) runs on your computer. The guide's greeting in the Trail is plain text in the YAML greeting field. |