A data engineer needs to process data based on a 'department' parameter provided to a Databricks notebook at runtime, with a default value of 'all'. Which code snippet correctly creates and assigns this parameter to a Python variable for data processing?