+ 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.

6th Jul 2019, 6:50 PM
Melissa
5 Respuestas
+ 5
You can modify the code and play around with the output.
6th Jul 2019, 6:54 PM
Paul Grasser
Paul Grasser - avatar
+ 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
6th Jul 2019, 7:07 PM
Faisal
Faisal - avatar
+ 5
And when you make changes, you can save the code to your own collection of codes to work on later.
6th Jul 2019, 7:26 PM
David Ashton
David Ashton - avatar
+ 3
You can just change things in the code, add something different, and see the output, Experiment with the code yourself.
6th Jul 2019, 7:20 PM
Ginfio
Ginfio - avatar
+ 2
Thank you so much! ah now I get it :)
6th Jul 2019, 7:49 PM
Melissa