In Class: Week 8 Wednesday and Friday


If you have not already done so, create a week08 subdirectory in your cs21/class directory:

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

      % mkdir week08        
	
Then, from within your week08 subdirectory copy over the list_algs.py file from my public directory:
    % cd week08
    % pwd
      /home/your_user_name/cs21/class/week08

    % cp ~newhall/public/cs21/week08/list_algs.py .
    % ls
	

After taking a look at what list_algs.py does, we are going to add some code to list_algs.py.
  1. First, we are going to add a function to find an element in a list of integer values.
  2. Next, we are going to think about a better way to implement this function.