Software Example - Visual studio code

I will be demonstrating an example of using Visual studio code. I will use python programming to create a simple graphical representation using 'turtle'. 'Turtle' is like a drawing board or canvas for pictures or shapes. 




Firstly, I started by installing some extensions such as python and pylance. This would enable VS code recognise the codes and the programming language used.



Secondly, I began to use my previously learnt skills in python to write codes in the work area. It was important to avoid any errors and indent each line appropriately.




In this picture, the rest of the codes can been seen. The extra lines of code were written to further expatiate on the example. After this, it was time to run the whole task.



When all the errors and problems have been solved, running the whole task is the next thing to do. This can be done by clicking the play-like button on the top right hand corner.



After running the whole task, a pop up box showed a diagram of 3 squares. These shapes were created as a result of the codes written above. It is quite simple, however it is an example of  the ability of visual studio code. More complex graphics and pictures can be created, although it would require a good amount of codes to run.

Comments