Bolt has arrived at the repair workshop with three damaged
systems. Instead of writing the same repair instruction
repeatedly, create a reusable Python
function and call it whenever a system needs repair.
One function can repair several systems.
A function lets you give a name to a block of instructions so you can use those instructions again later.
The function
repair_system()
already contains the repair instruction.
Call the function three times to repair all three systems.
repair_system()
What is the main advantage of putting the repair instruction inside a function?
You created a reusable function and called it several times instead of repeating the same repair instruction.