Warm-up 2.7 - slice, append, pop, remove
- Debrief warm-up
Lesson 2.7 Lists Part 2
- Define and identify: slice, append, pop, remove;
- Slice a list;
- Add and remove elements from a list.
- If you haven't already, read Section 2.5 List Operations
- Slice Definition: Slicing is a list operation that gives back a list starting from the index to the left of the colon and going up to the index to the right of the colon. Note that slicing doesn't exist in Snap!
- List Operation Summary Notes
Lab 2.7 - Traversing and Setting up Tic-Tac-Toe
- Practice slicing, adding, and removing elements from some given lists;
- Create a single move Tic-Tac-Toe game
- Name your file Lab2.7_OneMoveTicTacToe.py
No comments:
Post a Comment