Whale Talk

Just finished whale talk and I used a function to run the whale talk because it is best practice declaring block scoped variables to keep my code organized.

Hello!

Because you want to more organized code, I recommend to pass input as parameter and return result from function instead of printing it inside. This will allow to reuse function with another phrases and use it result in another way, for example, stack together multiple results into text.

Thanks for sharing!

1 Like

Thanks for the feedback!