Class 5 – Friday, January 26

It's all about you

Show understanding — Put it altogether now — Yes you all can do


Look both ways


Form


Agenda


Galleries


What was meant to be past examples

  • The final version of the program shows that every string has a member function for inspecting itself. The split() function hands back the list of words that make up the string.

Homework requirement


Homework warning


In-class homework requirements


Program seconds.py

CS 1112: from 0 to programmer in 189000 seconds.


Program complimenter.py

  Enter your age: 19

  You don’t even look 14

  Enter your age: 111

  You don’t even look 106

  Enter your age: 20

  You don’t even look 15


Program dateable.py

For example, an 18 year old needs to date somebody at least 16 year's old (i.e., 7 + ( 18 / 2 ) ).

  Enter your age (integer): 19

  19 year olds should date somebody who is at least 16 years old

  Enter your age (integer): 22

  22 year olds should date somebody who is at least 18 years old

  Enter your age (integer): 88

  88 year olds should date somebody who is at least 51 years old


To do list


variables as boxes

 



Warning: fopen(/l/cs1112/public_html/defs/htm/181-trailer): Failed to open stream: No such file or directory in /l/cs1112/public_html/defs/php/read.php on line 5
Unable to open file!