+ 2
Do we add code to "try it yourself" section?
Code is already written so how are we supposed to "try it"? All the work is done. Practice exercises are already completed except for answer.
5 Answers
+ 5
You can modify the code and play around with the output.
+ 5
Melissa
The purpose of the "Try it Yourself" code snippet is to show you how the code is written and what the output of it is, while providing you a program related to the material within that lesson of which you can mess around with to better understand that specific segment of the course. It isn't necessarily meant to be a practice for you per se, but you can definitely use it as such by messing around and experimenting with the code provided in that snippet
+ 5
And when you make changes, you can save the code to your own collection of codes to work on later.
+ 3
You can just change things in the code, add something different, and see the output,
Experiment with the code yourself.
+ 2
Thank you so much! ah now I get it :)