Due Date: midnight, Friday, 7 September.

This assignment focuses on the material in the first two chapters.

Submit the following programs via Blackboard:

  1. Modify the chaos program (available from the author's website) so that it prints out 20 values instead of 10.
  2. Modify the avg2.py program (Section 2.5.3 from the book) to find the average of five exam scores.
  3. Modify the convert.py program (Section 2.2, and available from the author's website) so that it computes and prints a table of Celsius temperatures and the Fahrenheit equivalences every 2 degrees from -10C to 10C.
  4. Write a program that prints your name to the screen 20 times.
  5. Write a program that converts weights measured in grams to ounces. One ounce is approximately 28.35 grams.
For more information on using Blackboard, see the first lab.

General Notes