I think that it would be good to introduce the session by making sure all the students are on the same page, python-wise. I would like to have this session be an interactive quiz-type class, where students are engaged in answering questions about what some basic code snippets do. This would serve the dual purpose of getting people used to reading existing code and understanding what it does, and also to get students introduced to basic Python syntax. Perhaps Socrative would work well here?
for loop: sum 1 - 10, what is the answer?
for loop: sum 1 - 10, even numbers only
if statement:
if/else:
variable assignments
variable assignments, followed by function that uses the variable
what's wrong with this code? show a block of code that has an error in it. Ask class to determine the error.
I think that it would be good to introduce the session by making sure all the students are on the same page, python-wise. I would like to have this session be an interactive quiz-type class, where students are engaged in answering questions about what some basic code snippets do. This would serve the dual purpose of getting people used to reading existing code and understanding what it does, and also to get students introduced to basic Python syntax. Perhaps Socrative would work well here?