Summer 2013

Nathan Hull


In Class Example Python Programs


Wednesday, August 14th

Tuesday, August 13th

Monday, August 12th

Thursday, August 8th

Wednesday, August 7th

Tuesday, August 6th

Monday, August 5th

Thursday, August 1st

Wednesday, July 31st

Monday, July 29th (Review for Midterm)

Thursday, July 25th

Wednesday, July 24th

Monday, July 22nd

Thursday, July 18th

OVER-THE-WEEKEND PROBLEM - Read in a value for the height on an X, and print it out using "*"
So, if you input 5, you would get:

*   *
 * *
  * 
 * *
*   *

But, if you input 6, you would get:

*    *
 *  *
  **
 *  *
*    *

Also, make certain that it works for an input of 1:

*

Wednesday, July 17th

OVERNIGHT PROBLEM - Random melody: do1, re, mi, fa, so, la, ti, do2. The melody should start with either 'do' and stop when two 'do's are found in a row. Print the length of the melody.

Tuesday, July 16th

OVERNIGHT PROBLEM - Keep choosing Jellybeans until four reds are chosen IN A ROW

Monday, July 15th

Thursday, July 11th

Wednesday, July 10th

Tuesday, July 9th