
Recent Posts
Pages
Assignment Calendars
Calculus
Programming
Categories
Archives
Archive for September, 2013

It’s Hip to be Square!
Posted on September 30, 2013  No CommentsThe Challenge A few lessons ago, we worked with function drawSquare(), which draws a square of the specified size. Today your challenge is to use that function, along with another […] 
More “Fun” with Funcitons … (Get it?) :)
Posted on September 29, 2013  No CommentsIntroduction So we’ve been introduced to functions in Python. Remember that we use a def block to define a function (nothing happens at this point) and then later, we call […] 
Introduction to Functions
Posted on September 27, 2013  No CommentsToday we’re going to take a look at a Python programming construct called funcitons. Our objective is to learn to define and use funcitons to help organize our code and […] 
Getting Out of the Loop
Posted on September 26, 2013  No CommentsIn the last post, we explored Python lists and in Exercise #7 you were asked to sum the items in the list of numbers up to, but not including, the first […] 
Python Lists
Posted on September 22, 2013  No CommentsWelcome to Lists in Python A list is a Python data structure that allows programmers to maintain a collection of objects. Lists are simply a set of values contained in […] 
Implementing the Quadratic Formula
Posted on September 19, 2013  No CommentsIntroduction We have been working with input/output and decision making. We’re now ready to tackle a problem that we first discussed last week, the Quadratic Formula. Our program will accept […] 
Determining Leap Years
Posted on September 17, 2013  No CommentsSo, it turns out your classmate was correct. The reference that I used in class for determining whether a year is a leap year was incorrect. The article found here […] 
Converting Celsius to Fahrenheit
Posted on September 16, 2013  No CommentsOk, so we now know how to ask our users questions and do simple mathematics operation on variables and values. Here is you next challenge: Find out the formula to […] 
Input and Output
Posted on September 11, 2013  No CommentsPython Input/Output Intro Let’s talk about some math. Do you remember the Pythagorean Theorem or the quadratic formula? How about the distance formula? Math students often struggle evaluating these formulas, […] 
Turtle in a Maze
Posted on September 10, 2013  No CommentsThe program maze.py creates a maze using the turtle module that we have been working with. Your task is to add code to the program that will lead the turtle […]