Essential Question: How can I add and subtract to lists?
Mastery Objectives:
SWBAT create a list and modify the list.
SWBAT delete items and add items to a list.
Do Now: Write a Python program to display the first and last colors from the following list. color_list = ["Red","Green","White" ,"Black"]
Write:
color_list = ["Red","Green","White" ,"Black"]
print( "%s %s"%(color_list[0],color_list[-1]))
Directions: Using the tutorial, create a program that generates two teams and randomly assigns people to the team. https://projects.raspberrypi.org/en/projects/team-chooser You should complete all the challenges assigned to this project:
Random Team Names
Storing Team Names
More Teams