Challenge for Yield Block

Challenge

The code below passed a block to a template function that still needs to be written. Create a function below called template that prints the word "start", then yields a block passed to it, and then prints the word "end".

(Don't print any newlines.)

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]