You create a function with the def keyword: python def say_hello(): print("Hello!") The word def means "define a function." Then comes the function name (say_hello), parentheses, and a colon.
The indented lines below are the function body. This code doesn't print anything yet. It just creates the function. The function sits there, waiting to be called.