Skip to content

Week 1 03 23

fengttt edited this page Mar 25, 2020 · 1 revision

3/23

Setup software. Anaconda, python3, and Spyder.
Setup zoom, can connect/talk to kids. Try to share my screen. Start spyder, create an empty project. Play around in the python console.

Homework

  • For Laila, figure out how to create a project.
  • Some more software setup. Start spyder, in the iPython console, issue the following
!pip install pytest

After some output messages, please do

import pytest

This should result no error. Next,

!pip install pygame

After some output, run

!python -m pygame.examples.aliens

This should start a little space shooting game.

  • Let kids think about the following fact about gcd. For the bigger kids, they should try to come up with a proof.
gcd(0, n) = n, for any positive integer n, and
gcd(a, b) = gcd(b, a%b)
Clone this wiki locally