Download (right-click, save target as ...) this page as a jupyterlab notebook from:

Laboratory 0


Laboratory 0 - Homework: Yes, That's how we count in python!

LAST NAME, FIRST NAME

R00000000

ENGR 1330 Laboratory 0 - Homework


Exercise 1

Watch the Harvard computational thinking video https://www.youtube.com/watch?v=jjqgP9dpD1k&t=12s

At some point in the video, the instructor programs a virtual cat to meow. Then he programs the cat to meow repeatedly. What kind of programming construct is the video presenting at this point (they state the structure while demonstrated)

A Loop Structure

Exercise 2

Visit Jupyter Notebook: An Introduction, https://realpython.com/jupyter-notebook-introduction/ and examine the contents.

In the section Running Cells the author presents something similar to "hello world".
Run the example in Jupyter Notebook: An Introduction in the cell below

Exercise 3

Continuing with Jupyter Notebook: An Introduction In the section Headers the author presents an example of different header levals (it is the first example in the section).

Repeat the example in the cell below, be sure its a markdown cell and run it - you should get results similar to the example in the document.

Header 1

Header 2

Header 3