Creating a function for eating bananas