Overview
This week we will start using the GASP Python module to create graphics programs and learn about functions.
Friday, September 22nd
Classwork / Homework
A puzzle
question for you to ponder:
What would be the value of the expression low + high
in the
program from Monday's quiz after the user had answered 3 questions
correctly?
I'm out sick today. Please compete Sheet 3: Pretty Pictures and be ready to present your art work in class next Wednesday.
Wednesday, September 20th
Classwork
We will start class by using the randomly_choose.py
to choose
students to share their GASP art with the class.
We will then discuss question 3 from the quiz we took on Monday, and talk
about how to study a Python program in the future to make sure you understand
completely how it works. Most of you appear not to have noticed the
end=''
argument passed to the call to the print
function on line 37.
The PCEP exam requires a thorough understanding of Python's print() function, so we will use this opportunity to learn about it.
Remaining time will be spent on Sheet 3: Pretty Pictures.
Homework
Complete
Sheet 3: Pretty Pictures. Once again be prepared to present your work
in class on Friday should randomly_choose.py
choose you.
Monday, September 18th
Classwork
Class will start with our first quiz. Then I'll take a few minutes to show you how to remove unwanted vim artifacts from your git repos.
After that we will begin work on Sheet 3: Pretty Pictures. We will work together to complete the first two challenges in Pretty Pictures, and then discuss functions in Python.
Homework
Complete challenges in 3, 4, 5, and 6 in Pretty Pictures, and come to class on Wednesday prepared to share what you did with the class. We won't have time for everyone to share, but I will use a Python program to randomly choose who will.