Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Tutorial 1: An example tutorial

Open In Colab Open In Kaggle

Tutorial 1: An example tutorial

Week 1, Day 1: Example

By Konstantine Tsafatinos


Tutorial Objectives

Estimated timing of tutorial: 10 minutes

In this tutorial you will fill in one function and check it with a plot.


Setup


Section 1: Watch a video

The video below is a placeholder. Replace the IDs with your own (youtube and bilibili are both optional; give at least one).

Video 1: An example video

Video available at https://youtube.com/watch?v=87z6OR7-DBI


Section 2: A coding exercise

Coding Exercise 1: Square a sequence

Complete the function so it returns the square of every number in x. Students see the exercise; the solution is published as a separate file and linked below the cell.


Summary

Estimated timing of tutorial: 10 minutes

You wrote a function, plotted it, and saw how a video, an exercise and its solution appear on the site and in the generated notebooks.