Exercises for testing your installation#
This exercise will allow you to test the installation of the toolbox, VS code, and to familiarize yourself with the project format.
In all weeks, except the first, there are a few exercises that you should complete and hand in as part projects. We highly recommend doing the non-project exercises first, as these will prepare you for the projects.
Exercise 0.1: Say hello to python#
The python print
-command allows you to print output to the console. Each time you call the print command, it produces a new line in the console:
>>> print("Printing is pretty easy in python!")
Printing is pretty easy in python!
Your task is to complete the script cp/ex00/say_hello.py
. If you run the script now, it only prints out Hello
as follows
Hello
Your job is to make it print out
Hello
World
Tip
This is a simple exercise – copy the existing print statement and change what is being printed: print("World")