Homework 1

Due: Monday, January 22 at 11:59 pm

Submission: On Courseworks

Instructions

Please read the instructions carefully. An incorrectly formatted submission may not be counted.

This homework has two parts. The first part is simply to download and install the required software for the course. The second part is to take screenshots of the code running on your computer. To submit, first create a folder called uni-hw1 (so for me this would be tkp2108-hw1). Then, place the required screenshots in the folder. Name them 1.png, 2.png, etc. Then compress this folder into a zip file. For most operating systems, you should be able to right click and have a “compress” option in the context menu. This should create a file called tkp2108-hw1.zip (with your uni). Submit this on courseworks.

Part 1

Following the instructions from the third lecture, download and install Anaconda for your operating system (64 Bit, Python 3.11).

Part 2

Following the instructions from the third lecture, open IPython, JupyterLab, and Spyder. In each application, run the following code snippet and take a screenshot:

import getpass, platform
print(getpass.getuser())
print(platform.platform())

Example

Here is an example for my system. NOTE: Your information will be different!

IPython

Jupyter

Spyder

My submission folder

Compress from the context menu (similar on windows, e.g. Send to Zip)

The file I submit