HW Review
What did people have the most trouble figuring out? ask random
Programming
Thing big: what was this homework about? ask random
Numbers vs. ?
Many of us learn mathematics as a sort of physics of bottlecaps: that the rules are about numbers, and that anything we figure out from maths could ultimately be turned into a physical observation process, such as counting bottle caps, or measuring lengths, masses, etc.
This perspective is useful, as it is implicitly reminds us how to practice science via mathematical story-telling.
However, mathematics is also about describing classes of things with certain shared features and operations, and then being able to reason about the behaviors of those things without reference to material things.
Objects
You have worked with several types in Python so far:
__author__ = 'cap10'
someint = 5
somedouble = 5.0
somestring = "a string"
print(type(someint), type(somedouble), type(somestring))
# but also
import turtle
ss = turtle.Screen()
tt = turtle.RawTurtle(ss)
print(type(ss), type(tt))
Integers and floating point numbers and character strings are probably familiar, at least what the are, if perhaps not as a programming concept.
But what are those things associated with turtle
plotting? They are custom objects.
Now let’s revisit the homework, creating objects for the shapes and using them in previous.
Review
The rest of the course periods are an open-topic review, question and answer sessions to support getting your project work done.