In Class: Week 2 Tuesday, Thursday


Create a week02 subdirectory in your cs21/class directory:

      % cd 
      % cd cs21/class
      % pwd
        /home/your_user_name/cs21/class

      % mkdir week02        
	
Then, from within your week02 subdirectory copy over some python files from my public directory:
    % cd week02
    % pwd
      /home/your_user_name/cs21/class/week02

    % cp ~soni/public/cs21/week02/* .
    % ls
	

We are going to do some of the following:

  1. open expr.py in vim. It contains some examples of numeric expressions and order of evalution. Let's take a look at some of them...

  2. Together we are going to write a program that computes the average of 5 integer values that are entered by a user.

  3. open test_math.py in vim. Work on using the math library and accumulator patterns