Defining a function with four different ways is discussed in this video with examples. Please find the github link of the examples discussed in this video:
https://github.com/EasyCodingTutes/Da...
https://github.com/EasyCodingTutes/Da...
https://github.com/EasyCodingTutes/Da...
https://github.com/EasyCodingTutes/Da...