In Class: Week 3 Wednesday and Friday


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

      $ cd 
      $ cd cs21/class
      $ pwd
        /home/your_user_name/cs21/class

      $ mkdir week03        
	
Then, from within your week03 subdirectory copy over some python files from my public directory (if you have already copied these over, answer no to the overwrite questions):
    $ cd week03
    $ pwd
      /home/your_user_name/cs21/class/week03

    $ cp ~newhall/public/cs21/week03/* .
    $ ls
      ascii.py  drop_letter.py  format.py  stars.py
	

We are going to do some of the following:

  1. open drop_letter.py. Together we are going to write a program that takes a line of input from the user, and creates a new string that consists of every other character (every odd character) from the input string.

  2. open stars.py. Together we are going to write a program that takes as in put a size value, and prints out a pattern of stars of the appropriate size.