Warm-Up Exercise
Continue Lesson 1’s Exercise
- Show your calculation from Lesson 1’s Exercise to a neighbour you
didn’t come with:
- Without explaining your code, can they understand what each line
achieves?
- What changes would make it easier to read?
- Hint: Add comments to explain your calculation
- Lines starting with
#
are not run as code
- E.g.
# This is a comment
Thanks
- To the host for the great venue!
- To our sponsors
Administrivia
- Fire escapes
- Toilets
- Cleaning up after ourselves
- WiFi
Tutorial Objectives
- Assigning values to variables
- Different types of values
- Indexing and slicing
Independent Work/Homework
- Exercise Notebook:
- More variable and value examples
- Write a password generator
- See the Exercise Notebook for PyNoon Starter Lesson 2 at pynoon.github.io/lessons
- Work through futurecoder.io sections:
- For Loops