Essential Question:
How do I create a conditional statement in Python?
Mastery Objective:
SWBAT create a conditional statement in Python.
SWBAT create print statements in Python.
SWBAT create variables in Python.
SWBAT create a random generator.
Directions: Create a game that randomly generates outcomes for the game: paper, scissors, rock and determines the winner. Afterwards, add variables to create the game Rock, Paper, Scissors, Spock, Lizard.
Do Now: Write a Python program to print the calendar of a given month and year.
Do Now 2: Create a conditional statement that checks to see if a number x, has a value greater than 5 and if it does, add 7. If it doesn't, add 4. Print the results of x.
Directions: Create the game Rock, Paper, Scissors in python using the tutorial: https://projects.raspberrypi.org/en/projects/rock-paper-scissors
After you have completed the game, Rock, Paper, Scissors, you will add Lizard and Spock to the game.
Resources:
Rock Paper Scissors Championship - https://www.youtube.com/watch?v=_eanWnL3FtM&t=1s
Conan O'Brien Interview - https://www.youtube.com/watch?v=WdaRUH49p4U
Rock, Paper, Scissor, Lizard, Spock - https://www.youtube.com/watch?v=x5Q6-wMx-K8