Friday, January 31, 2020

2.7 List Operations

Warm-up    2.7 - slice, append, pop, remove

  • Debrief warm-up

Lesson 2.7 Lists Part 1   

  1. Define and identify: slice, append, pop, remove;
  2. Slice a list;
  3. 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

www.google.com Lab 2.7 - Traversing and Setting up Tic-Tac-Toe

  1. Practice slicing, adding, and removing elements from some given lists;
  2. Create a single move Tic-Tac-Toe game
  3. Name your file Lab2.7_OneMoveTicTacToe.py
  Due Wednesday February 5, 2020 

No comments:

Post a Comment

Blog information move to Google Doc

Hello All, Moving forward, please find all information about the class that you used to find on a live google doc agenda. The link is foun...