Python:: Functions

Can you see the function is written once and used many times? How can this be useful?
Go ahead, add your own function to the code above and see the difference!
You can download the code by clicking the download button in the white window.

Visualise the execution of the above code through the interface below